[Qt-interest] DESTDIR for debug_and_release on Debian Linux

Michael Karcher qt-interest at mkarcher.dialup.fu-berlin.de
Mon Jun 1 14:20:12 CEST 2009


Michael Karcher <qt-interest at mkarcher.dialup.fu-berlin.de> wrote:
> while on MinGW a project using the app template generates the debug
> executable in debug and the release executable in the root directory,
> doing the same on Debian Linux ist creating both executables in the
> project directory - so one overwrites the other.
OK, found the cause myself: In mkspecs/win32-g++/qmake.conf,
debug_and_release_target is activated by default, in
mkspecs/linux-g++/qmake.conf, debug_and_release_target is not activated
by default. So adding "CONFIG += debug_and_release_target" to the .pro
file solves the problem.

It does *not* solve that Qt Creator has the different defaults hardcoded
in src/plugins/qt4projectmanager/qt4runconfiguration.cpp, line 382ff.

Regards,
  Michael Karcher



More information about the Qt-interest-old mailing list