View Full Version : [ubuntu] Compile and Run Qt programs in ubuntu 12.04

May 25th, 2012, 02:15 AM
How can I compile and run Qt programs in ubuntu 12.04? I tried using

g++ sample.cpp -o sample but it returns an error

sample.cpp:1:22: fatal error: qt4/QtGui: No such file or directory
compilation terminated.
But I doubled check the installation file of Qt is in the usr/include/qt4 folder and everything is there