Installation of qt
export QTDIR=$PWD &&
./configure -prefix /opt/qt-&qt-version; -qt-gif -system-libpng \
-system-libmng -system-zlib -system-libjpeg -no-g++-exceptions \
-thread &&
make &&
cp src/Makefile src/Makefile.bak &&
sed 's/[^-]strip/# strip/' src/Makefile.bak > src/Makefile &&
make install &&
ln -sf /opt/qt-&qt-version; /opt/qt &&
cp -r doc/man /opt/qt/doc
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:
make symlinks src-qmake src-moc sub-src sub-tools