[Development] QLog ( Work on qDebug and friends)

David Faure david.faure at kdab.com
Thu Feb 2 21:26:12 CET 2012


On Thursday 02 February 2012 15:01:02 shane.kearns at accenture.com wrote:
> An important requirement is that it must be easy to enable debugging in Qt
> libraries without touching the application code. This is so that we can
> debug regressions affecting closed source applications.
> 
> With the existing qDebug, we need to disable the qInstallMsgHandler call*,
> and recompile the relevant Qt libraries with debug logs enabled.

How about submitting a patch to Qt 5 that makes qInstallMsgHandler a no-op 
when an environment variable $QT_NO_MESSAGE_HANDLER is set?

-- 
David Faure | david.faure at kdab.com | KDE/Qt Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions




More information about the Development mailing list