Installation of qt
./configure -prefix /opt/qt-&qt-version; -qt-gif -system-libpng \
-system-libmng -system-zlib -system-libjpeg -no-g++-exceptions \
-thread &&
make &&
make install &&
if test -L /opt/qt; then rm /opt/qt; fi &&
ln -s /opt/qt-&qt-version; /opt/qt &&
cp -r doc/man /opt/qt/doc &&
cp -r examples /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 sub-tools