Windows compiling: Problems with output destination from Mingw
-
I am trying to setup my project to be compatible to build in both linux and windows environment. Linux will output my files in the shadow directory lake one would expect. However when in windows, mingw (because of settings somewhere) is tacking on debug (if in debug) and release (if in release) to the destination directory. This is causing angst with the linker because the shadow build directory no longer matches what the .pro is expecting.
To sum it up:
How to stop mingw from tacking on debug/release to destination directory when building? -
"Here":http://qt-project.org/doc/qt-4.8/qmake-variable-reference.html you can find a description of all the qmake (*.pro) variables.
In this case, you can help the variable "DESTDIR":http://qt-project.org/doc/qt-4.8/qmake-variable-reference.html#destdir.
For example:@
DESTDIR = bin
@