glfs/x/lib/qt/qt-inst.xml
Larry Lawrence 22d378f06d typos in bootdisk, spaces in qt and start shadow
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@250 af4574ff-66df-0310-9fd7-8a98e5e911e0
2002-09-21 21:43:45 +00:00

27 lines
817 B
XML

<sect2>
<title>Installation of qt</title>
<para><screen><userinput>export QTDIR=$PWD &amp;&amp;
./configure -prefix /opt/qt-&qt-version; -qt-gif -system-libpng \
&nbsp;&nbsp;&nbsp;-system-libmng -system-zlib -system-libjpeg -no-g++-exceptions \
&nbsp;&nbsp;&nbsp;-thread &amp;&amp;
make &amp;&amp;
cp src/Makefile src/Makefile.bak &amp;&amp;
sed 's/[^-]strip/# strip/' src/Makefile.bak > src/Makefile &amp;&amp;
make install &amp;&amp;
ln -sf /opt/qt-&qt-version; /opt/qt &amp;&amp;
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>