First startup of KDE application and printing on stdout

David Faure faure at
Fri Jan 12 16:48:37 GMT 2007

On Friday 12 January 2007 17:34, Thiago Macieira wrote:
> Dirk Mueller wrote:
> >On Wednesday, 20. December 2006 00:50, Thiago Macieira wrote:
> >> Daemons and backgrounded programs should not output anything. There's
> >> a reason why our post-commit script warns of the usage of printf,
> >> qDebug, etc.
> >
> >There is a reason, but a different one ;)
> I thought I had the right reason...
> Why don't we allow printf, qDebug, etc. ?

Because NDEBUG (--disable-debug) doesn't turn them off.

Well with Qt4, qDebug might be OK now, I think its behavior has been changed compared to the Qt3 qDebug.

David Faure, faure at, sponsored by Trolltech to work on KDE,
Konqueror (, and KOffice (

More information about the kde-core-devel mailing list