Could you try commands Jacek suggested? The first one will generate a qmake project file and the second one will generate a makefile for you. More info: http://doc.trolltech.com/latest/qmake-manual.html