Changeset d94c58f4


Ignore:
Timestamp:
07/24/2014 03:16:17 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.6-blfs, 7.6-systemd, kde5-14269, kde5-14686, systemd-13485
Children:
dff3ce71
Parents:
9bb7308
Message:

Add a tip on Qt pages to use a versioned install.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@13615 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
x/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • x/lib/qt4-systemd.xml

    r9bb7308 rd94c58f4  
    172172    </para>
    173173
     174    <tip>
     175      <para>
     176        Sometimes, the installation paths are hardcoded into installed files.
     177        This is the reason why <filename class="directory">/opt/qt4</filename>
     178        is used as installation prefix instead of <filename
     179        class="directory">/opt/qt-&qt4-version;</filename>. After installing
     180        <application>Qt4</application>, you may rename the directory and
     181        create a symlink:
     182      </para>
     183
     184<screen role="root"><userinput>mv /opt/qt{4,-&qt4-version;}
     185ln -sfv qt-&qt4-version; /opt/qt4</userinput></screen>
     186
     187      <para>
     188        Later on, you may want to install other versions of
     189        <application>Qt4</application>. To do that, just remove the symlink
     190        and use <filename class="directory">/opt/qt4</filename> as the
     191        prefix again. Which version of <application>Qt4</application> you
     192        use depends only on where the symlink points to.
     193      </para>
     194    </tip>
     195
    174196  </sect2>
    175197
  • x/lib/qt5-systemd.xml

    r9bb7308 rd94c58f4  
    182182      PATH variable.
    183183    </para>
     184
     185    <tip>
     186      <para>
     187        Sometimes, the installation paths are hardcoded into installed files.
     188        This is the reason why <filename class="directory">/opt/qt5</filename>
     189        is used as installation prefix instead of <filename
     190        class="directory">/opt/qt-&qt5-version;</filename>. After installing
     191        <application>Qt5</application>, you may rename the directory and
     192        create a symlink:
     193      </para>
     194
     195<screen role="root"><userinput>mv /opt/qt{5,-&qt5-version;}
     196ln -sfv qt-&qt5-version; /opt/qt5</userinput></screen>
     197
     198      <para>
     199        Later on, you may want to install other versions of
     200        <application>Qt5</application>. To do that, just remove the symlink
     201        and use <filename class="directory">/opt/qt5</filename> as the
     202        prefix again. Which version of <application>Qt5</application> you
     203        use depends only on where the symlink points to.
     204      </para>
     205    </tip>
    184206
    185207  </sect2>
Note: See TracChangeset for help on using the changeset viewer.