mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-02 05:22:13 +08:00
f45b195302
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3 af4574ff-66df-0310-9fd7-8a98e5e911e0
20 lines
625 B
XML
20 lines
625 B
XML
<sect2>
|
|
<title>Installation of qt using objprelink</title>
|
|
|
|
<para><screen><userinput>export QTDIR=$PWD &&
|
|
cd mkspecs/linux-g++ &&
|
|
cp qmake.conf qmake.conf.bak &&
|
|
sed '/^QMAKE_LINK/s/g++/objprelink $(OBJECTS) $(OBJMOC) \&\& g++/' \
|
|
qmake.conf.bak > qmake.conf &&
|
|
cd ../.. &&
|
|
./configure -prefix /opt/qt-&qt-version; -qt-gif -system-libpng \
|
|
-system-libmng -system-zlib -system-libjpeg -no-g++-exceptions \
|
|
-thread &&
|
|
make &&
|
|
make install &&
|
|
ln -sf /opt/qt-&qt-version; /opt/qt &&
|
|
cp -r doc/man /opt/qt/doc</userinput></screen></para>
|
|
|
|
</sect2>
|
|
|