Changeset fb28b3b for x/lib/qt4.xml


Ignore:
Timestamp:
09/08/2013 04:56:57 AM (11 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
7a792a0a
Parents:
402f23d3
Message:

Tag Qt4, Qt5, and qtchooser and add additional explanations.
Tag autofs and update it's boot script.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11795 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/lib/qt4.xml

    r402f23d3 rfb28b3b  
    106106      <xref linkend="postgresql"/>,
    107107      <xref linkend="pulseaudio"/>,
    108       <xref linkend="qtchooser"/> (if also installing Qt5), and
    109       <xref linkend="unixodbc"/>
     108      <xref linkend="unixodbc"/>, and
     109      <xref linkend="qtchooser"/> (runtime, if also installing Qt5 and
     110      installing in /usr)
    110111    </para>
    111112
     
    119120
    120121    <para>
    121 
    122122       There are several ways to install a complicated package such as
    123123       <application>Qt</application>. The files are not completely position
     
    150150    </para>
    151151
     152       <para>
     153       The disadvantage of installing in <filename
     154       class='directory'>/usr</filename> is that the executable filenames
     155       for  <application>Qt4</application> and <application>Qt5</application>
     156       conflict if both packages are installed in the
     157       same directory.  The instructions below give a workaround for
     158       this problem using the helper program <xref linkend='qtchooser'/>.
     159       This requires renaming the Qt executables with a version suffix.
     160    </para>
     161
    152162    <para>
    153163       The advantage of installing <application>Qt4</application> in a custom
     
    159169       changing one symbolic link or merely changing the PATH variable.  It
    160170       also allows a developer to maintain multiple versions of
    161        <application>Qt4</application> for testing.
    162     </para>
    163 
    164     <warning>
     171       <application>Qt4</application> or <application>Qt5</application>
     172       for testing.
     173    </para>
     174
     175    <caution>
    165176      <para>
    166177        If you did not install some of the recommended dependencies, examine
     
    168179        them or use internal versions bundled in the source tarball.
    169180      </para>
    170     </warning>
    171 
    172     <caution>
     181    </caution>
     182
     183    <warning>
    173184      <para>
    174         If <application>Qt</application> is being reinstalled into the
     185        If <application>Qt4</application> is being reinstalled into the
    175186        same directory as an existing instance, run the
    176         following commands from a console or non-Qt based window manager.
    177         It overwrites <application>Qt</application> libraries that should
     187        following commands from a console or non-Qt4 based window manager.
     188        It overwrites <application>Qt4</application> libraries that should
    178189        not be in use during the install process.
    179190      </para>
    180     </caution>
     191    </warning>
    181192
    182193    <note>
     
    192203
    193204    <para>
    194       Install <application>Qt</application> by running the
     205      Install <application>Qt4</application> by running the
    195206      following commands:
    196207    </para>
     208
     209    <note><para>
     210      If <emphasis>not</emphasis> also installing <application>Qt5</application>
     211      into the /usr directory, change the entry for -bindir below to /usr/bin.
     212    </para></note>
     213
    197214
    198215<screen><userinput>sed -i -e "/#if/d" -e "/#error/d" -e "/#endif/d" \
     
    264281
    265282    <para>
    266       Symlink the <application>Qt</application> executables into
     283      If also installing Qt5 into /usr,
     284      symlink the <application>Qt4</application> executables into
    267285      <filename class="directory">/usr/bin</filename> by running the
    268286      following commands as the
     
    276294
    277295    <bridgehead renderas="sect3">Method 2: Installing in /opt/qt-&qt4-version;</bridgehead>
     296
     297    <para>
     298      This section provides an alternate way to install Qt4 by installing
     299      almost all of the files in the <filename class="directory">/opt</filename>
     300      directory. This allows management of all Qt4 related files in one unit.
     301      For instance, a new version of Qt4 can be installed without over-writing
     302      the existing installation and entire Qt4 instances can be easily removed.
     303      However, it has the disadvantage of needing some extra configuration.
     304    </para>
     305 
    278306
    279307    <para>
     
    445473   
    446474<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; EOF
    447    <literal># Begin Qt addition
     475<literal># Begin Qt addition
    448476   
    449477/opt/qt/lib
     
    454482ldconfig</userinput></screen>
    455483   
    456    <indexterm zone="qt4 qtconfig-qt4">
     484   <indexterm zone="qt4 qt4-config">
    457485      <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
    458486   </indexterm>
     
    464492   
    465493<screen role="root"><userinput>cat &gt; /etc/profile.d/qt.sh &lt;&lt; EOF
    466    <literal># Begin /etc/profile.d/qt.sh
     494<literal># Begin /etc/profile.d/qt.sh
    467495   
    468496QTDIR=/opt/qt
     
    477505
    478506      <para>
    479         For all methods, Create the menu entries for installed applications.
     507        For all methods, create the menu entries for installed applications.
    480508        As the <systemitem class="username">root</systemitem> user:
    481509      </para>
Note: See TracChangeset for help on using the changeset viewer.