mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-05 16:07:23 +08:00
c6a2f39832
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@662 af4574ff-66df-0310-9fd7-8a98e5e911e0
26 lines
788 B
XML
26 lines
788 B
XML
<sect2>
|
|
<title>Installation of qt</title>
|
|
|
|
<para><screen><userinput>./configure -prefix /opt/qt-&qt-version; -qt-gif -system-libpng \
|
|
-system-libmng -system-zlib -system-libjpeg -no-g++-exceptions \
|
|
-thread &&
|
|
make &&
|
|
make install &&
|
|
if test -L /opt/qt; then rm /opt/qt; fi &&
|
|
ln -s /opt/qt-&qt-version; /opt/qt &&
|
|
ln -s /opt/qt/lib/libqt-mt.so /opt/qt/lib/libqt.so &&
|
|
cp -r doc/man /opt/qt/doc &&
|
|
cp -r examples /opt/qt/doc</userinput></screen></para>
|
|
|
|
<note><para>
|
|
The build time for qt 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:
|
|
</para>
|
|
|
|
<para>
|
|
<userinput>make sub-tools</userinput>
|
|
</para>
|
|
</note>
|
|
|
|
</sect2>
|
|
|