QT_NO_DEBUG, Q_ASSERT(), and release build types

Armin Berres trigger at space-based.de
Sun Jan 11 23:49:59 GMT 2009


On Sun, 11 Jan 09 23:34, Andreas Hartmetz wrote:
> Hi all,
> 
> it occurred to me that QT_NO_DEBUG is not defined in RELWITHDEBINFO build 
> mode. It is defined, since Allen Winter made it so, in RELEASE build mode.
> Note that Debian packages and probably others are built with RELWITHDEBINFO, 

Oh, and FWIW we don't exactly use RELWITHDEBINFO in Debian. In the end it is
RELWITHDEBINFO + -DNDEBUG. IIRC the only reason we don't define QT_NO_DEBUG 
is that it would disable the kDebug() output.

Greetings,
Armin




More information about the kde-core-devel mailing list