glfs/x/lib/qt/qt-inst.xml

30 lines
942 B
XML
Raw Normal View History

<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 /opt/qt-&qt-version; /opt/qt &amp;&amp;
ln -s /opt/qt/lib/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>