[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 145711] "Debug & Release" build mode always generates "CONFIG -=
From: Andreas Pakulat <apaku () gmx ! de>
Date: 2007-05-20 14:56:33
Message-ID: 20070520145633.19799.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=145711
apaku gmx de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Additional Comments From apaku gmx de 2007-05-20 16:56 -------
Your project is broken then. The reason is that if you set a target this is active \
for both the release and debug build if you use debug_and_release, this is because \
qmake generates the Makefile that way. This is IMHO a bug in qmake, but well that one \
has to be reported to TT.
To specify different targets for debug and release see the qmake documentation, \
there's a way to check wether the CONFIG has debug or release active - its IIRC in \
the Configuration and Scopes part of the QMake advanced usage chapter.
Last but not least, the reason why this changed from 3.4.0 is that with 3.4.1 a bug \
was fixed. This bug now re-enables reading default values from QMake (which silently \
failed in 3.4.0) and as your qmake sets CONFIG = release internally (because it was \
built in release mode) QMake Manager makes sure this is unset so that \
debug_and_release is active. This can't be changed because CONFIG is not differently \
handled from any other variable and I don't see a reason to do so.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic