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