brixel
6th May 2016, 11:57
Hello,
I'm utilizing qInstallMessageHandler with a custom handler to control the format of the message output. This is working correctly. The issue is now that I'm intercepting the data and formatting it, it is no longer making it's way to the Windows debug view as it was prior this. I was using the code provided in the example here (http://doc.qt.io/qt-5/qtglobal.html#qInstallMessageHandler).
I then tried instead to push the data out this way:
QTextStream(stdout)
Passing in the various arguments, which again, works for the IDE but not when running natively and looking to see debug data in the Windows debug view. Is there anyway to have this handler so I can keep messages in the IDE, but also allow for them to be viewed in Windows debug view?
I'm utilizing qInstallMessageHandler with a custom handler to control the format of the message output. This is working correctly. The issue is now that I'm intercepting the data and formatting it, it is no longer making it's way to the Windows debug view as it was prior this. I was using the code provided in the example here (http://doc.qt.io/qt-5/qtglobal.html#qInstallMessageHandler).
I then tried instead to push the data out this way:
QTextStream(stdout)
Passing in the various arguments, which again, works for the IDE but not when running natively and looking to see debug data in the Windows debug view. Is there anyway to have this handler so I can keep messages in the IDE, but also allow for them to be viewed in Windows debug view?