glfs/x/lib/qt/qt-inst.xml
Igor Živković 69e900041f fixed qt and kde symlinks
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1999 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-04-17 10:10:56 +00:00

29 lines
924 B
XML

<sect2>
<title>Installation of <application>Qt</application></title>
<screen><userinput><command>bash
export QTDIR=$PWD &amp;&amp;
export LD_LIBRARY_PATH=$QTDIR/lib &amp;&amp;
export PATH=$QTDIR/bin:$PATH &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;
make install &amp;&amp;
ln -sfn qt-&qt-version; /opt/qt &amp;&amp;
ln -s libqt-mt.so /opt/qt/lib/libqt.so &amp;&amp;
cp -r doc/man /opt/qt/doc &amp;&amp;
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>