10.0
10.1
11.0
11.1
11.2
11.3
12.0
12.1
12.2
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
gimp3
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/for-12.3
xry111/intltool
xry111/llvm18
xry111/soup3
xry111/spidermonkey128
xry111/test-20220226
xry111/xf86-video-removal
Last change
on this file since 80e192a 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:
1.3 KB
|
Line | |
---|
1 | <sect2>
|
---|
2 | <title>Installation of <application>Qt</application></title>
|
---|
3 |
|
---|
4 | <para>Install <application>Qt</application> by running the following
|
---|
5 | commands:</para>
|
---|
6 |
|
---|
7 | <screen><userinput><command>sed -i "s:cp -f:install:" mkspecs/linux-g++/qmake.conf &&
|
---|
8 | bash
|
---|
9 | export PATH=$PWD/bin:$PATH &&
|
---|
10 | export LD_LIBRARY_PATH=$PWD/lib &&
|
---|
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 &&
|
---|
16 | make &&
|
---|
17 | find -type f -name Makefile | xargs sed -i "s@-Wl,-rpath,/usr/lib@@g" &&
|
---|
18 | make install &&
|
---|
19 | ln -sf libqt-mt.so /usr/lib/libqt.so &&
|
---|
20 | cp -r doc/man /usr/share &&
|
---|
21 | cp -r examples /usr/share/doc/qt &&
|
---|
22 | exit</command></userinput></screen>
|
---|
23 |
|
---|
24 | <note><para>
|
---|
25 | The build time for <application>Qt</application> is quite long. If you want to save some time and don't want the tutorials and examples, change the first make line above to:
|
---|
26 | </para>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | <userinput><command>make sub-tools</command></userinput>
|
---|
30 | </para>
|
---|
31 | </note>
|
---|
32 |
|
---|
33 | </sect2>
|
---|
34 |
|
---|
35 | <!--
|
---|
36 | -cups
|
---|
37 | -plugin-imgfmt-jpeg
|
---|
38 | -plugin-imgfmt-mng
|
---|
39 | -system-libjpeg
|
---|
40 | -system-libmng
|
---|
41 | -system-nas-sound
|
---|
42 | -->
|
---|
Note:
See
TracBrowser
for help on using the repository browser.