Adding console to mainwindow
-
i am new to qt .. i am designing an application in linux can some one please tell me how to add console in 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
-
thanks for replying...my application is all qDebug messeges should have to be appeared in the wainwindow not in the command window
-
"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.