mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 13:02:35 +08:00
22d378f06d
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@250 af4574ff-66df-0310-9fd7-8a98e5e911e0
27 lines
817 B
XML
27 lines
817 B
XML
<sect2>
|
|
<title>Installation of qt</title>
|
|
|
|
<para><screen><userinput>export QTDIR=$PWD &&
|
|
./configure -prefix /opt/qt-&qt-version; -qt-gif -system-libpng \
|
|
-system-libmng -system-zlib -system-libjpeg -no-g++-exceptions \
|
|
-thread &&
|
|
make &&
|
|
cp src/Makefile src/Makefile.bak &&
|
|
sed 's/[^-]strip/# strip/' src/Makefile.bak > src/Makefile &&
|
|
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>
|
|
|