mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-05 16:07:23 +08:00
a57850e259
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1831 af4574ff-66df-0310-9fd7-8a98e5e911e0
30 lines
942 B
XML
30 lines
942 B
XML
<sect2>
|
|
<title>Installation of <application>Qt</application></title>
|
|
|
|
<screen><userinput><command>bash
|
|
export QTDIR=$PWD &&
|
|
export LD_LIBRARY_PATH=$QTDIR/lib &&
|
|
export PATH=$QTDIR/bin:$PATH &&
|
|
./configure -prefix /opt/qt-&qt-version; -qt-gif -system-libpng \
|
|
-system-libmng -system-zlib -system-libjpeg -no-g++-exceptions \
|
|
-thread &&
|
|
make &&
|
|
make install &&
|
|
ln -sfn /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
|
|
exit</command></userinput></screen>
|
|
|
|
<note><para>
|
|
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:
|
|
</para>
|
|
|
|
<para>
|
|
<userinput><command>make sub-tools</command></userinput>
|
|
</para>
|
|
</note>
|
|
|
|
</sect2>
|
|
|