2002-07-08 04:28:42 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of qt</title>
|
|
|
|
|
|
|
|
<para><screen><userinput>export QTDIR=$PWD &&
|
|
|
|
./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 &&
|
2002-08-14 11:24:19 +08:00
|
|
|
cp src/Makefile src/Makefile.bak &&
|
|
|
|
sed 's/[^-]strip/# strip/' src/Makefile.bak > src/Makefile &&
|
2002-07-08 04:28:42 +08:00
|
|
|
make install &&
|
|
|
|
ln -sf /opt/qt-&qt-version; /opt/qt &&
|
|
|
|
cp -r doc/man /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 symlinks src-qmake src-moc sub-src sub-tools</userinput>
|
|
|
|
</para>
|
|
|
|
</note>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|