2002-07-08 04:28:42 +08:00
<sect2 >
2003-10-02 23:28:50 +08:00
<title > Installation of <application > Qt</application> </title>
2002-07-08 04:28:42 +08:00
2003-10-11 08:58:31 +08:00
<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 \
2002-09-22 05:43:45 +08:00
-system-libmng -system-zlib -system-libjpeg -no-g++-exceptions \
-thread & &
2002-07-08 04:28:42 +08:00
make & &
make install & &
2003-04-05 00:22:43 +08:00
ln -sfn /opt/qt-&qt-version; /opt/qt & &
2002-12-03 00:58:29 +08:00
ln -s /opt/qt/lib/libqt-mt.so /opt/qt/lib/libqt.so & &
2002-10-25 08:00:54 +08:00
cp -r doc/man /opt/qt/doc & &
2003-10-11 08:58:31 +08:00
cp -r examples /opt/qt/doc
2004-02-22 05:29:46 +08:00
exit</command> </userinput> </screen>
2002-07-08 04:28:42 +08:00
<note > <para >
2003-10-02 23:28:50 +08:00
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:
2002-07-08 04:28:42 +08:00
</para>
<para >
2003-08-04 06:29:45 +08:00
<userinput > <command > make sub-tools</command> </userinput>
2002-07-08 04:28:42 +08:00
</para>
</note>
2002-11-15 09:17:31 +08:00
2002-07-08 04:28:42 +08:00
</sect2>