qt5base-lts/qmake/doc
Joerg Bornemann 474a5e2f3f Fix handling of the DEFINES_DEBUG/DEFINES_RELEASE variables
Modifications of the CONFIG variable in the project file wasn't taken
into account in the handling of DEFINES_DEBUG and DEFINES_RELEASE,
because it was happening before the evaluation of the project file.

Moved the handling code into default_post.prf where the other *_DEBUG
and *_RELEASE variables are handled.

In practice that means: to avoid the addition of the NDEBUG define one
has to remove NDEBUG from DEFINES_RELEASE.

This amends commit 1456b809.

[ChangeLog][qmake] To remove the NDEBUG define that is added by
default in MSVC mkspecs, write DEFINES_RELEASE -= NDEBUG in your .pro
file.

Fixes: QTBUG-81569
Change-Id: I2ea5628653275a4e48ad002977d34969c0663815
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-01-23 19:44:09 +01:00
..
images Doc: Fixed qmake manual's images and snippets directories. 2013-08-13 01:38:54 +02:00
snippets doc: improve SUBDIRS documentation for dependency handling 2020-01-14 06:55:48 +01:00
src Fix handling of the DEFINES_DEBUG/DEFINES_RELEASE variables 2020-01-23 19:44:09 +01:00
qmake.qdocconf Doc: Fix qdoc compilation errors qtbase 2020-01-17 12:56:08 +00:00