Changeset a8ece039 for x/lib/qt4.xml


Ignore:
Timestamp:
08/24/2013 02:08:53 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:
f374379
Parents:
54e9eea
Message:

Reset

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/lib/qt4.xml

    r54e9eea ra8ece039  
    8080    <bridgehead renderas="sect4">Required</bridgehead>
    8181    <para role="required">
    82       <xref linkend="alsa-lib"/>,
    83       <xref linkend="mesalib"/> and
    84       <xref linkend="qtchooser"/>
     82      <xref linkend="alsa-lib"/> and
     83      <xref linkend="mesalib"/>
    8584    </para>
    8685
     
    9594      <xref linkend="libpng"/>,
    9695      <xref linkend="libtiff"/>,
    97       <xref linkend="openssl"/> and
     96      <xref linkend="openssl"/>, and
    9897      <xref linkend="sqlite"/>
    9998    </para>
     
    106105      <xref linkend="mysql"/>,
    107106      <xref linkend="postgresql"/>,
    108       <xref linkend="pulseaudio"/> and
     107      <xref linkend="pulseaudio"/>,
     108      <xref linkend="qtchooser"/> (if also installing Qt5), and
    109109      <xref linkend="unixodbc"/>
    110110    </para>
     
    119119
    120120    <para>
     121
    121122       There are several ways to install a complicated package such as
    122123       <application>Qt</application>. The files are not completely position
     
    129130       correctly by the build process.
    130131    </para>
    131 
     132   
    132133    <para>
    133134       The default installation places the files in <filename
    134        class="directory">/usr/local/qt</filename>. Many commercial
     135       class='directory'>/usr/local/qt/</filename>. Many commercial
    135136       distributions place the files in the system's <filename
    136        class="directory">/usr</filename> hierarchy. The package can also be
     137       class='directory'>/usr</filename> hierarchy. The package can also be
    137138       installed in an arbitrary directory.
    138139    </para>
     
    140141    <para>
    141142       The advantage of installing in <filename
    142        class="directory">/usr</filename> is that no updates to the
     143       class='directory'>/usr</filename> is that no updates to the
    143144       <filename>/etc/ld.so.conf</filename> or
    144145       <filename>/etc/man_db.conf</filename> files are required. The package
    145146       files are distributed within several subdirectories of the <filename
    146        class="directory">/usr</filename> hierarchy. This is the method that
    147        most commercial distributions use. It is also supported by the
    148        <application>qtchooser</application> application.
    149     </para>
    150 
    151     <para>
    152        The advantage of installing <application>Qt</application> in a custom
     147       class='directory'>/usr</filename> hierarchy. This is the method that
     148       most commercial distributions use.  It is also supported by the
     149       optional <application>qtchooser</application> application.
     150    </para>
     151
     152    <para>
     153       The advantage of installing <application>Qt4</application> in a custom
    153154       directory such as <filename
    154        class="directory">/opt/qt-&qt4-version;</filename> is that it keeps all
     155       class='directory'>/opt/qt-&qt4-version;</filename> is that it keeps all
    155156       the package files consolidated in a dedicated directory hierarchy. By
    156157       using this method, an update can be made without overwriting a previous
    157158       installation and users can easily revert to a previous version by
    158        changing one symbolic link or merely changing the PATH variable. It
    159        also allows a developer to maintain multiple versions of
    160        <application>Qt</application> for testing.
     159       changing one symbolic link or merely changing the PATH variable.  It
     160       also allows a developer to maintain multiple versions of 
     161       <application>Qt4</application> for testing.
    161162    </para>
    162163
     
    198199     config.tests/unix/libmng/libmng.cpp &amp;&amp;
    199200
    200 ./configure -confirm-license \
    201             -opensource \
    202             -release \
    203             -prefix /usr \
    204             -bindir /usr/lib/qt4/bin \
    205             -headerdir /usr/include/qt4 \
    206             -datadir /usr/share/qt4 \
    207             -plugindir /usr/lib/qt4/plugins \
    208             -importdir /usr/lib/qt4/imports \
     201./configure -prefix         /usr                 \
     202            -bindir         /usr/lib/qt4/bin     \
     203            -plugindir      /usr/lib/qt4/plugins \
     204            -importdir      /usr/lib/qt4/imports \
     205            -headerdir      /usr/include/qt4     \
     206            -datadir        /usr/share/qt4       \
     207            -sysconfdir     /etc/xdg             \
     208            -docdir         /usr/share/doc/qt4   \
     209            -demosdir       /usr/share/doc/qt4/demos    \
     210            -examplesdir    /usr/share/doc/qt4/examples \
    209211            -translationdir /usr/share/qt4/translations \
    210             -sysconfdir /etc/xdg \
    211             -docdir /usr/share/doc/qt4 \
    212             -demosdir /usr/share/doc/qt4/demos \
    213             -examplesdir /usr/share/doc/qt4/examples \
    214             -dbus-linked \
    215             -openssl-linked \
    216             -system-sqlite \
    217             -no-phonon \
     212            -confirm-license   \
     213            -opensource        \
     214            -release           \
     215            -dbus-linked       \
     216            -openssl-linked    \
     217            -system-sqlite     \
     218            -no-phonon         \
    218219            -no-phonon-backend \
    219             -no-nis \
    220             -no-openvg \
    221             -nomake demos \
    222             -nomake examples \
    223             -optimized-qmake &amp;&amp;
     220            -no-nis            \
     221            -no-openvg         \
     222            -nomake demos      \
     223            -nomake examples   \
     224            -optimized-qmake   &amp;&amp;
     225
    224226make</userinput></screen>
    225227
     
    235237rm -rf /usr/tests &amp;&amp;
    236238install -v -Dm644 src/gui/dialogs/images/qtlogo-64.png \
    237                   /usr/share/pixmaps/qt4logo.png &amp;&amp;
     239                  /usr/share/pixmaps/qt4logo.png       &amp;&amp;
    238240install -v -Dm644 tools/assistant/tools/assistant/images/assistant-128.png \
    239241                  /usr/share/pixmaps/assistant-qt4.png &amp;&amp;
    240242install -v -Dm644 tools/designer/src/designer/images/designer.png \
    241                   /usr/share/pixmaps/designer-qt4.png &amp;&amp;
     243                  /usr/share/pixmaps/designer-qt4.png  &amp;&amp;
    242244install -v -Dm644 tools/linguist/linguist/images/icons/linguist-128-32.png \
    243                   /usr/share/pixmaps/linguist-qt4.png &amp;&amp;
     245                  /usr/share/pixmaps/linguist-qt4.png  &amp;&amp;
    244246install -v -Dm644 tools/qdbus/qdbusviewer/images/qdbusviewer-128.png \
    245247                  /usr/share/pixmaps/qdbusviewer-qt4.png</userinput></screen>
     
    276278
    277279    <para>
    278       Install <application>Qt</application> in  /opt/qt-&qt4-version;
     280      Install <application>Qt</application> in  /opt/qt-&qt4-version; 
    279281      by running the following commands:
    280282    </para>
     
    416418
    417419      <para>
    418         If you installed <application>Qt</application> in
    419         <filename class="directory">/usr</filename>, create
    420         an environment variable needed by certain packages.
     420        If you installed <application>Qt</application> in /usr,
     421        create an environment variable needed by certain packages.
    421422        As the <systemitem class="username">root</systemitem> user:
    422423      </para>
     
    434435   <para>
    435436      If you installed <application>Qt</application> in a location other
    436       than <filename class="directory">/usr</filename>, you need to update
    437       the following configuration files so that <application>Qt</application>
    438       is correctly found by other packages and system processes.
    439     </para>
    440 
    441     <para>
    442       As the <systemitem class="username">root</systemitem> user, update
     437      than /usr, you need to update the following configuration files so
     438      that <application>Qt</application> is correctly found by other packages
     439      and system processes.</para>
     440   
     441      <para>As the <systemitem class="username">root</systemitem> user, update
    443442      the <filename>/etc/ld.so.conf</filename> file and the dynamic linker's
    444443      run-time cache file:
    445444   </para>
    446 
     445   
    447446<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; EOF
    448 <literal># Begin Qt addition
     447   <literal># Begin Qt addition
    449448   
    450449/opt/qt/lib
     
    454453
    455454ldconfig</userinput></screen>
    456 
     455   
     456   <indexterm zone="qt4 qtconfig-qt4">
     457      <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
     458   </indexterm>
     459   
    457460   <para>
    458461      As the <systemitem class="username">root</systemitem> user, create
    459462      the <filename>/etc/profile.d/qt.sh</filename> file:
    460463   </para>
    461 
     464   
    462465<screen role="root"><userinput>cat &gt; /etc/profile.d/qt.sh &lt;&lt; EOF
    463 <literal># Begin /etc/profile.d/qt.sh
    464 
     466   <literal># Begin /etc/profile.d/qt.sh
     467   
    465468QTDIR=/opt/qt
    466 
     469   
    467470pathappend /opt/qt/bin           PATH
    468471pathappend /opt/qt/lib/pkgconfig PKG_CONFIG_PATH
    469 
     472   
    470473export QTDIR
    471 
     474   
    472475# End /etc/profile.d/qt.sh</literal>
    473476EOF</userinput></screen>
    474 
    475    <indexterm zone="qt4 qtconfig-qt4">
    476       <primary sortas="e-etc-profile.d-qt.sh">/etc/profile.d/qt.sh</primary>
    477    </indexterm>
    478477
    479478      <para>
     
    581580          /usr/lib/qt4,
    582581          /usr/share/doc/qt4, and
    583           /usr/share/qt4
     582          /usr/share/qt4 (OR $QTDIR)
    584583          (OR $QTDIR)
    585584        </seg>
Note: See TracChangeset for help on using the changeset viewer.