Ignore:
Timestamp:
04/22/2004 09:35:36 PM (17 years ago)
Author:
Igor Živković <igor@…>
Branches:
10.0, 10.1, 11.0, 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, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, v5_1, v5_1-pre1, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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 
Note: See TracChangeset for help on using the changeset viewer.