PDA

View Full Version : Placing the executable in the current directory, rather than /release?



Skywalker
5th January 2009, 00:43
For Windows, is there some way to change the .pro file to have 'make' place the executable in the current directory rather than a /debug or /release directory?

spirit
5th January 2009, 07:21
in pro-file you need to add:


DESTDIR = path/to/needed/dir

Skywalker
5th January 2009, 21:05
Thank you, DESTDIR = ./ worked.

Although the main.o file is still placed in the /release directory. Is the creation of the release and debug directories, and placing of main.o in the release directory, something that can't be changed?

jpn
5th January 2009, 22:55
See qmake manual: OBJECTS_DIR (http://doc.trolltech.com/4.4/qmake-variable-reference.html#objects-dir).