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

27 lines
817 B
XML
Raw Normal View History

<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>