[Qt-interest] qmake - how to set object output dir
Aleksandar Vasilev
alxvasilev at gmail.com
Sat Apr 18 01:10:28 CEST 2009
Hi all,
I am using qmake on the win32-g++ platform, with mingw.
I am wondering how to tell qmake to put the compiled object files in a
directory structure similar to the one in the examples, i.e.
tmp/obj/debug_shared and tmp/obj/release_shared. When I generate
Makefiles from my .pro file, I see that qmake puts the object files in
release/ and debug/ directories, and I would like to have dedicated
'obj' directories, both for release and debug. Looking at the stock .pro
files for the examples and demos, I don't find anything special which
would instruct qmake to use tmp/obj/xxx dirs, it just works there. I
have tried to set the OBJECTS_DIR variable, but then the object output
path becomes the same for both release and debug.
Thanks in advance
Best regards
Alex
More information about the Qt-interest-old
mailing list