Compiling Qt 3.1

PrevCompiling and Safe Development Practices (with configure)Next

Compiling Qt 3.1

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

Note that when checking out qt-copy, we did not need to specify -z4 on the command line, as our .cvsrc now has that specified for us.

PrevHomeNext
Compiling and Safe Development Practices (with configure) Up  Compiling KDE (HEAD)