Changeset fff069f for x/lib/qt/qt-exp.xml
- Timestamp:
- 04/22/2004 09:35:36 PM (20 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/lib/qt/qt-exp.xml
rfa48bf3 rfff069f 1 1 <sect2> 2 2 <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 6 libraries are in use.</para> 3 7 4 8 <para><command>bash</command>: This command enters a sub-shell to isolate 5 9 environment changes.</para> 6 10 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 11 12 sets up the location of libraries for the build process.</para> 12 13 13 <para><command>export PATH=$ QTDIR/bin:$PATH</command>: This command14 <para><command>export PATH=$PWD/bin:$PATH</command>: This command 14 15 allows the build process to find supporting executables.</para> 15 16 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 20 18 files to the libraries.</para> 21 19 22 <para>< option>-system-libpng -system-libmng -system-zlib23 -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 thesefunctions.</para>20 <para><parameter>-system-zlib -system-libpng</parameter>: This switch 21 forces the library to use the shared libraries that are on your system 22 instead of recreating its own set of support libraries for these 23 functions.</para> 26 24 27 <para>< option>-no-g++-exceptions</option>: This commanddisables25 <para><parameter>-no-g++-exceptions</parameter>: This switch disables 28 26 the exceptions coding generated by the <application>C++</application> compiler.</para> 29 27 30 <para>< option>-thread</option>: This command compiles the library31 to supportmulti-threading.</para>28 <para><parameter>-thread</parameter>: This switch adds 29 support for multi-threading.</para> 32 30 33 <para><command> ln -sfn qt-&qt-version; /opt/qt</command>: This command34 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>: 32 This command removes hardcoded run-time path, else 33 <command>uic</command> tries to run with system installed Qt 34 libraries.</para> 37 35 38 <para><command>ln -s libqt-mt.so / opt/qt/lib/libqt.so</command>: This36 <para><command>ln -s libqt-mt.so /usr/lib/libqt.so</command>: This 39 37 command allows configure scripts 40 38 to find a working <application>Qt</application> installation.</para> 41 39 42 <para><command>cp -r doc/man / opt/qt/doc</command>: This command43 installs the man directory which ismissed by <command>make40 <para><command>cp -r doc/man /usr/share</command>: This command 41 installs the man pages which are missed by <command>make 44 42 install</command>.</para> 45 43 46 <para><command>cp -r examples / opt/qt/doc</command>: This command47 installs the examples directory which ismissed by <command>make44 <para><command>cp -r examples /usr/share/doc/qt</command>: This command 45 installs the examples which are missed by <command>make 48 46 install</command>.</para> 49 47 50 48 <para><command>exit</command>: This command returns to the parent shell 51 and eliminates envir nment variables set earlier.</para>49 and eliminates environment variables set earlier.</para> 52 50 53 51 </sect2> 54
Note:
See TracChangeset
for help on using the changeset viewer.