Compiling Qt should only be necessary if your system has a too old Qt installation
or if you can't find a precompiled Qt package for your distribution. KDE's Qt copy
contains some fixes, speedups and enhancements which can be useful.
Let's get Qt 3.1. Take the KDE copy of the current Qt library from
the KDE CVS with:
cvs co qt-copy
cd qt-copy
setenv QTDIR $PWD # (if you use csh/tcsh)
OR
export QTDIR=`pwd` # (if you use bash)
make -f Makefile.cvs # (creates symlinks -- without that, qt will not compile !)
./configure -gif -thread
make