Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QtCreator: Application output
amigo421 last edited by
i know this quesiton was raised a lot of times, howver still don't see the answer.
How to put console output into APplication output panel in Qt Creator?
I see mostly the reply is a using qDebug()
however Qt SDK is not installed on my host
the only way is a using standard library .
any ideas, please?
You could write to the output stream using
QTextStream, however I'm not sure it'll get into the QtCreator applicaiton output window. Usually
qDebug()is used for that, but you could try this one as well:
QTextStream cerr(stderr); cerr << "Something that appears on the error stream";
Or for the console window:
QTextStream cout(stdout); cout << "Something that appears on the standard output";
If you're not using Qt, you could try the standard streams:
srd::cerr << "Some text on the error stream";
asanka424 last edited by
In Qt Creator, go to Projects and Run, there is a checkbox 'Run in terminal'. If you uncheck that your output wil be printed in Qt creators' "Application Output" panel.
Hope that is what you want
amigo421 last edited by amigo421
did you really check this? it doesn't work for me;
- std::cerr output is not shown in APplication Output
- std::cout is also not showing there
independently of in console or not option
Debugging has finished
is only messages in Application Output
deleted321 last edited by
I don't know if you resolved, but the ultimate correct answer for me was that of asanaka424.