PDA

View Full Version : My first Linux QT program wont compile



GrahamLabdon
27th October 2010, 15:07
Hello
I have created a helloworld program
I execute the following command

qmake -project

Followed by
qmake qtprograms.pro

This gives me the error
QMAKESPEC has not been set, so configuration cannot be deduced.
Error processing project file: qtprograms.pro

couild someone please tell me what I am doing wrong?

TIA

Graham

Brainsnail
27th October 2010, 15:49
you can find the mkspecs in your QTDIR.
Try something like:

export QMAKESPEC='linux-g++'