First startup of KDE application and printing on stdout

Thiago Macieira thiago at kde.org
Fri Jan 12 18:05:45 GMT 2007


David Faure wrote:
>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.

No, but QT_NO_DEBUG does.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070112/f910f2ce/attachment.sig>


More information about the kde-core-devel mailing list