add these to ~/.profile & ~/.bashrc export QTDIR=/usr/lib/qt3 export PATH=$QTDIR/bin:$PATH export MANPATH=$QTDIR/doc/man:$MANPATH export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH QT likes to be compiled from a virtual terminal. It frequently gets confused if make is run from an Xterm. (ctrl-alt-F2) or something first! In the directory holding the .cpp file: qmake -project qmake make WOO!