Changeset fff069f for x/lib/qt


Ignore:
Timestamp:
04/22/2004 09:35:36 PM (20 years ago)
Author:
Igor Živković <igor@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
9f39870
Parents:
fa48bf3
Message:

moved qt to /usr

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

Location:
x/lib/qt
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • x/lib/qt/qt-config.xml

    rfa48bf3 rfff069f  
    44<sect3><title>Configuration Information</title>
    55
    6 <para>As with most libraries, there is no configuration to do, save that
    7 the library directory <filename class="directory">/opt/qt/lib</filename> should appear
    8 in <filename>/etc/ld.so.conf</filename> so that ldd can find the
    9 shared libraries. The following command will add it if it is missing:</para>
    10 
    11 <screen><userinput><command>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"</command>
    12 # Begin qt addition to /etc/ld.so.conf
    13 
    14 /opt/qt/lib
    15 
    16 # End qt addition
    17 <command>EOF
    18 ldconfig</command></userinput></screen>
    19 
    20 <para>You need to add the path for the <application>Qt</application> man pages to the
    21 <filename>man.conf</filename>
    22 file.  This can be done with the following command:</para>
    23 
    24 <screen><userinput><command>cat &gt;&gt; /etc/man.conf &lt;&lt; "EOF"</command>
    25 # Begin qt addition to man.conf
    26 
    27 MANPATH /opt/qt/doc/man
    28 
    29 # End qt addition to man.conf
    30 <command>EOF</command></userinput></screen>
    31 
    32 <para>Most of the <application>Qt</application> based applications (such as
    33 <application>KDE</application>) require the <envar>QTDIR</envar> to be
    34 set during compilation. This can be achieved by the following command.
    35 For convenience, this command may be added to <filename>/etc/profile</filename>
    36 or <filename>$HOME/.bash_profile</filename>.</para>
    37 
    38 <screen><userinput><command>export QTDIR=/opt/qt</command></userinput></screen>
     6&library-config;
    397
    408</sect3>
    419
    4210</sect2>
    43 
  • x/lib/qt/qt-desc.xml

    rfa48bf3 rfff069f  
    2323<para>The <application>Qt</application>/<application>X11</application>
    2424library contains <acronym>API</acronym>'s necessary to use
    25 <application><acronym>KDE</acronym></application>
    26 programs.</para></sect3>
     25programs based on Qt <acronym>GUI</acronym> toolkit.</para></sect3>
    2726
    2827</sect2>
  • x/lib/qt/qt-exp.xml

    rfa48bf3 rfff069f  
    11<sect2>
    22<title>Command explanations</title>
     3
     4<para><command>sed -i "s:cp -f:install:" mkspecs/linux-g++/qmake.conf</command>:
     5<command>install</command> is safer than <command>cp</command> when
     6libraries are in use.</para>
    37
    48<para><command>bash</command>: This command enters a sub-shell to isolate
    59environment changes.</para>
    610
    7 <para><command>export QTDIR=$PWD</command>: This command defines where the
    8 root of the <application>Qt</application> directory is located.</para>
    9 
    10 <para><command>export LD_LIBRARY_PATH=$QTDIR/lib</command>: This command
     11<para><command>export LD_LIBRARY_PATH=$PWD/lib</command>: This command
    1112sets up the location of libraries for the build process.</para>
    1213
    13 <para><command>export PATH=$QTDIR/bin:$PATH</command>: This command
     14<para><command>export PATH=$PWD/bin:$PATH</command>: This command
    1415allows the build process to find supporting executables.</para>
    1516
    16 <para><parameter>-prefix /opt/qt-&qt-version;</parameter>: This command sets up
    17 the install destination.</para>
    18 
    19 <para><option>-qt-gif</option>: This command adds support for gif
     17<para><parameter>-qt-gif</parameter>: This switch adds support for gif
    2018files to the libraries.</para>
    2119
    22 <para><option>-system-libpng -system-libmng -system-zlib
    23 -system-libjpeg</option>: This command forces the library to use the
    24 shared libraries that are on your system instead of recreating its own
    25 set of support libraries for these functions.</para>
     20<para><parameter>-system-zlib -system-libpng</parameter>: This switch
     21forces the library to use the shared libraries that are on your system
     22instead of recreating its own set of support libraries for these
     23functions.</para>
    2624
    27 <para><option>-no-g++-exceptions</option>: This command disables
     25<para><parameter>-no-g++-exceptions</parameter>: This switch disables
    2826the exceptions coding generated by the <application>C++</application> compiler.</para>
    2927
    30 <para><option>-thread</option>: This command compiles the library
    31 to support multi-threading.</para>
     28<para><parameter>-thread</parameter>: This switch adds
     29support for multi-threading.</para>
    3230
    33 <para><command>ln -sfn qt-&qt-version; /opt/qt</command>: This command
    34 standardizes the location of the <application>Qt</application> libraries
    35 to the <filename>ld.so.conf</filename> entry
    36 described below.</para>
     31<para><command>find -type f -name Makefile | xargs sed -i "s@-Wl,-rpath,/usr/lib@@g"</command>:
     32This command removes hardcoded run-time path, else
     33<command>uic</command> tries to run with system installed Qt
     34libraries.</para>
    3735
    38 <para><command>ln -s libqt-mt.so /opt/qt/lib/libqt.so</command>: This
     36<para><command>ln -s libqt-mt.so /usr/lib/libqt.so</command>: This
    3937command allows configure scripts
    4038to find a working <application>Qt</application> installation.</para>
    4139
    42 <para><command>cp -r doc/man /opt/qt/doc</command>: This command
    43 installs the man directory which is missed by <command>make
     40<para><command>cp -r doc/man /usr/share</command>: This command
     41installs the man pages which are missed by <command>make
    4442install</command>.</para>
    4543
    46 <para><command>cp -r examples /opt/qt/doc</command>: This command
    47 installs the examples directory which is missed by <command>make
     44<para><command>cp -r examples /usr/share/doc/qt</command>: This command
     45installs the examples which are missed by <command>make
    4846install</command>.</para>
    4947
    5048<para><command>exit</command>: This command returns to the parent shell
    51 and eliminates envirnment variables set earlier.</para>
     49and eliminates environment variables set earlier.</para>
    5250
    5351</sect2>
    54 
  • x/lib/qt/qt-inst.xml

    rfa48bf3 rfff069f  
    22<title>Installation of <application>Qt</application></title>
    33
    4 <screen><userinput><command>bash
    5 export QTDIR=$PWD &amp;&amp;
    6 export LD_LIBRARY_PATH=$QTDIR/lib &amp;&amp;
    7 export PATH=$QTDIR/bin:$PATH &amp;&amp;
    8 ./configure -prefix /opt/qt-&qt-version; -qt-gif -system-libpng \
    9 &nbsp;&nbsp;&nbsp;-system-libmng -system-zlib -system-libjpeg -no-g++-exceptions \
    10 &nbsp;&nbsp;&nbsp;-thread &amp;&amp;
     4<para>Install <application>Qt</application> by running the following
     5commands:</para>
     6
     7<screen><userinput><command>sed -i "s:cp -f:install:" mkspecs/linux-g++/qmake.conf &amp;&amp;
     8bash
     9export PATH=$PWD/bin:$PATH &amp;&amp;
     10export LD_LIBRARY_PATH=$PWD/lib &amp;&amp;
     11./configure -prefix /usr -docdir /usr/share/doc/qt \
     12    -headerdir /usr/include/qt -plugindir /usr/lib/qt/plugins \
     13    -datadir /usr/share/qt -translationdir /usr/share/qt/translations \
     14    -sysconfdir /etc/qt -release -shared -qt-gif -system-zlib \
     15    -no-g++-exceptions -thread -plugin-imgfmt-png -system-libpng &amp;&amp;
    1116make &amp;&amp;
     17find -type f -name Makefile | xargs sed -i "s@-Wl,-rpath,/usr/lib@@g" &amp;&amp;
    1218make install &amp;&amp;
    13 ln -sfn qt-&qt-version; /opt/qt &amp;&amp;
    14 ln -s libqt-mt.so /opt/qt/lib/libqt.so &amp;&amp;
    15 cp -r doc/man /opt/qt/doc &amp;&amp;
    16 cp -r examples /opt/qt/doc
     19ln -sf libqt-mt.so /usr/lib/libqt.so &amp;&amp;
     20cp -r doc/man /usr/share &amp;&amp;
     21cp -r examples /usr/share/doc/qt &amp;&amp;
    1722exit</command></userinput></screen>
    1823
     
    2732
    2833</sect2>
     34
     35<!--
     36-cups
     37-plugin-imgfmt-jpeg
     38-plugin-imgfmt-mng
     39-system-libjpeg
     40-system-libmng
     41-system-nas-sound
     42-->
  • x/lib/qt/qt-intro.xml

    rfa48bf3 rfff069f  
    1818<sect3><title><application>Qt</application> dependencies</title>
    1919<sect4><title>Required</title>
    20 <para><xref linkend="xfree86"/> and
    21 <xref linkend="libmng"/></para></sect4>
     20<para>
     21<xref linkend="xfree86"/>
     22</para></sect4>
    2223<sect4><title>Optional</title>
    23 <para><xref linkend="nas"/> and <xref
    24 linkend="cups"/></para></sect4>
     24<para>
     25<xref linkend="libjpeg"/>,
     26<xref linkend="libmng"/>,
     27<xref linkend="nas"/>,
     28<xref linkend="cups"/>,
     29<xref linkend="mysql"/>,
     30<xref linkend="postgresql"/>,
     31<ulink url="http://firebird.sourceforge.net/">Firebird</ulink> and
     32<ulink url="http://www.unixodbc.org/">unixODBC</ulink>
     33</para></sect4>
    2534</sect3>
    2635
Note: See TracChangeset for help on using the changeset viewer.