On Thursday 02 February 2012 15:01:02 shane.kea...@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.fa...@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 _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development