[Qt-interest] Getting qDebug output from Qt's libraries

Thiago Macieira thiago at kde.org
Thu Mar 25 16:17:34 CET 2010


Em Quinta-feira 25 Março 2010, às 09:58:23, Srdjan Todorovic escreveu:
> On 24/03/2010, Nikos Chantziaras <realnc at arcor.de> wrote:
> > The qDebug messages on the other hand are only useful if you're
> > interested in modifying Qt itself.
> 
> What about qWarning()?
> Is this more suited to application-specific debugging output?

What you use the message levels in your own application is your own business.

Qt code uses qWarning to indicate a possible error in your own code, something 
you should take a look at before you release your software.

Qt code does not have enabled qDebug. We may use it during our own development 
phase, but we remove them (or comment them out) before shipping.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      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: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100325/fa82bfa1/attachment.bin 


More information about the Qt-interest-old mailing list