<div dir="ltr"><div><div>I have done some experiments using qInstallMessageHandler to intercept Qt's log messages that would otherwise show up on stderr, and direct them into Python log messages.<br><br></div>More discussion and some code is shown in this blog post:<br>

<br><a href="http://thispageintentionally.blogspot.com/2014/03/trapping-qt-log-messages.html">http://thispageintentionally.blogspot.com/2014/03/trapping-qt-log-messages.html</a><br><br></div>Hope it's of some use or interest.<br>

<br>Dave Cortesi<br></div>