Adding console to mainwindow
-
Hello,
AFAIK there is no such class in Qt, but if you use KDE, take a look at "TerminalInterface Class Reference":http://api.kde.org/4.0-api/kdelibs-apidocs/interfaces/html/classTerminalInterface.html
-
"qInstallMsgHandler() ":http://doc.qt.nokia.com/4.7/qtglobal.html#qInstallMsgHandler is your friend then.
The "Browser for QDebug Log Output":http://developer.qt.nokia.com/wiki/Browser_for_QDebug_output has an example using a separate MainWindow, it can easily be adapted to utilize your regular MainWindow.