PDA

View Full Version : How to Redirect qDebug from QtGui Application to Console?



wangq0206
21st August 2014, 09:57
I program a QtGui Application, When I debug the application , I need to output some information, I want to put these information to Write another Console , this Console is config , I don't know how I do?
Thank you !

anda_skoa
21st August 2014, 10:39
If you mean the console as in the standard output stream, have a look at http://qt-project.org/doc/qt-5/qloggingcategory.html

Cheers,
_