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

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 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
Last change on this file since fff069f was fff069f, checked in by Igor Živković <igor@…>, 17 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
5commands:</para>
6
7<screen><userinput><command>sed -i "s:cp -f:install:" mkspecs/linux-g++/qmake.conf &amp;&amp;
8bash
9export PATH=$PWD/bin:$PATH &amp;&amp;
10export LD_LIBRARY_PATH=$PWD/lib &amp;&amp;
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 &amp;&amp;
16make &amp;&amp;
17find -type f -name Makefile | xargs sed -i "s@-Wl,-rpath,/usr/lib@@g" &amp;&amp;
18make install &amp;&amp;
19ln -sf libqt-mt.so /usr/lib/libqt.so &amp;&amp;
20cp -r doc/man /usr/share &amp;&amp;
21cp -r examples /usr/share/doc/qt &amp;&amp;
22exit</command></userinput></screen>
23
24<note><para>
25The 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.