source: x/lib/qt/qt-exp.xml@ fff069f

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
Last change on this file since fff069f was fff069f, checked in by Igor Živković <igor@…>, 20 years ago

moved qt to /usr

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

  • Property mode set to 100644
File size: 2.0 KB
RevLine 
[f45b1953]1<sect2>
2<title>Command explanations</title>
3
[fff069f]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>
7
[903ea3fc]8<para><command>bash</command>: This command enters a sub-shell to isolate
9environment changes.</para>
10
[fff069f]11<para><command>export LD_LIBRARY_PATH=$PWD/lib</command>: This command
[903ea3fc]12sets up the location of libraries for the build process.</para>
13
[fff069f]14<para><command>export PATH=$PWD/bin:$PATH</command>: This command
[903ea3fc]15allows the build process to find supporting executables.</para>
16
[fff069f]17<para><parameter>-qt-gif</parameter>: This switch adds support for gif
[f45b1953]18files to the libraries.</para>
19
[fff069f]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>
[f45b1953]24
[fff069f]25<para><parameter>-no-g++-exceptions</parameter>: This switch disables
[ab8a3cb]26the exceptions coding generated by the <application>C++</application> compiler.</para>
[f45b1953]27
[fff069f]28<para><parameter>-thread</parameter>: This switch adds
29support for multi-threading.</para>
[f45b1953]30
[fff069f]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>
[f45b1953]35
[fff069f]36<para><command>ln -s libqt-mt.so /usr/lib/libqt.so</command>: This
[69e90004]37command allows configure scripts
[b9ad2f9a]38to find a working <application>Qt</application> installation.</para>
[0eb8ee4]39
[fff069f]40<para><command>cp -r doc/man /usr/share</command>: This command
41installs the man pages which are missed by <command>make
[b9ad2f9a]42install</command>.</para>
[2b36b6b]43
[fff069f]44<para><command>cp -r examples /usr/share/doc/qt</command>: This command
45installs the examples which are missed by <command>make
[b9ad2f9a]46install</command>.</para>
[2b36b6b]47
[903ea3fc]48<para><command>exit</command>: This command returns to the parent shell
[fff069f]49and eliminates environment variables set earlier.</para>
[903ea3fc]50
[f45b1953]51</sect2>
Note: See TracBrowser for help on using the repository browser.