QT_NO_DEBUG, Q_ASSERT(), and release build types

Allen Winter winter at kde.org
Sun Jan 18 16:52:29 CET 2009


On Sunday 18 January 2009 4:04:33 am Thiago Macieira wrote:
> Allen Winter wrote:
> >I am undecided if kDebug+qDebug should be on for relwithdebinfo.
> >I defer to the packagers on that one.
> 
> qDebug should be off.
> 
> kDebug, however, could be left on, but with all debug areas turned off. 
> Applications should be silent in release mode (any release mode) unless 
> the output is of interest to the user.
> 

To summarize the changes:
1) disable asserts in release and relwithdebinfo
2) disable qDebug in release and relwithdebinfo
3) enable kDebug in release and relwithdebinfo if we can turnoff debug areas

Andreas, does that just about cover it?
Any objections to this plan?

-Allen


More information about the Kde-buildsystem mailing list