Hi, I'm trying to get Qt working on my Ubuntu 12.04 laptop. I installed via the run file for the 'online' installation from the nokia.qt site. Yet when I tried to run qmake, it wasn't installed. So I installed qmake via synaptic and I'm able to produce makefiles. The problem is that during compilation the compiler fails to find header files like QDebug. It also returns a linking error as it is unable to find QtGui or QtCore. I think that this may have resulted from the installation process. Is there something I can do to reconfigure Qt or some other way to install it so that 'make' can find all the header files and linked libraries? Much in need of help.

If I need to reinstall Qt (say via the x11 method I have just realised is for *nix) how do I uninstall Qt? I can uninstall qmake via synaptic, but the rest?