Details
-
Suggestion
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.2.2
-
None
Description
It would be great if there was a default message handler on all platforms. If this was the case, one could simply do something like:
QtMsgHandler defaultMsgHandler = qInstallMsgHandler(myMsgHandler);
void myMsgHandler(QtMsgType type, const char* msg)
{
defaultMsgHandler(type, msg);
doSomethingElse(type, msg); // for example, write to a log
}
Attachments
Issue Links
- resulted in
-
QTBUG-27126 Export default message handler
- Reported