Hooking up qDebug() to console.log()?
-
When running an application from Qt Creator the console.log() window output is visible in the application pane, but the qDebug() output from the embedded C++ code does not show up there, as it would for QWidgets application.
Is there an easy way to make that happen, ideally something that would not be intrusive in javascript/qml side of things.
-
"This thread":http://developer.qt.nokia.com/forums/viewthread/893/P15 might help you. Or you can find similar topics as yours by clicking on the tags on the right.
-
Turns out I was mistaken, both qDebug() and console.log() work with Qt Creator, my problem was that it never got to qDebug() as I was bitten by
https://bugreports.qt.nokia.com/browse/QTCREATORBUG-6490