PDA

View Full Version : How to set the working dir in a qmake profile?



dego
2nd February 2009, 22:17
Hello,

is there a possibility to set the working dir for a Visual Studio project?

For the output dir this can be done with

DESTDIR = ../../../bin

but for the working dir?:confused:

thanks in advance

dego

jpn
3rd February 2009, 22:18
You mean like building out of the source tree? Have you tried:

mkdir build
cd build
qmake -tp vc ../myproj.pro

And open the generated .vcproj to VS.