Did you make the .pro first using
qmake -project ?

These 2 does work for me always -
qmake -project
qmake -tp vc