Prevent debug and release folders from being created in the default location
In my project I'd like to have a special folder for the output files. Specifying DESTDIR is the .pro file seems to do the job, but in Qt 5.6 after running qmake there are still two folders (debug and release) generated alongside the project file. How to disable it?
The issue is quite easy to reproduce:
Code:
TEMPLATE = app
DESTDIR = bin
In Qt 4.8 adding MOC_DIR and OBJECTS_DIR helps:
Code:
TEMPLATE = app
DESTDIR = bin
MOC_DIR = moc
OBJECTS_DIR = obj
But in Qt5 it doesn't seem to change anything.