Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[POSSIBLE BUG] QT Console Application appears in Application Output panel instead of Console Window
CybeX last edited by CybeX
I would like to have my application output to be opened into a new console window.
Currently it opens in the Application Output pane as show in this question
.pro file for what it's worth
QT += core QT -= gui CONFIG += c++11 TARGET = console_app CONFIG += console CONFIG -= app_bundle TEMPLATE = app SOURCES += main.cpp DEFINES += QT_DEPRECATED_WARNINGS
(How) Can this be done?
Flotisable last edited by
Do you mean
Project Mode -> Run -> run in terminalin Qt creator?
CybeX last edited by
I possibly have a bug here:
The run in terminal option was checked, yet it still opened in Application Output.
Qt Creator Info:
**Qt Creator 4.2.0 (4.2.0)** Based on Qt 5.7.1 (GCC 4.9.1 20140922 (Red Hat 4.9.1-10), 64 bit) Built on Dec 9 2016 12:18:01 From revision 5071dd80cb
Steps to replicate:
- New Project> Qt Console Application>next>next>Finish
- Add some code, anything really
- Run Application
You will see it opens in Application Output panel
Now go to
Project Mode -> Run -> run in terminaland see it checked.
To fix this: (my exact steps to solve this issue)
- Uncheck followed by clean, run qmake, rebuild.
- Go back and check it again followed by clean, run qmake, rebuild
And it will open up in a new console window.
Flotisable last edited by Flotisable
yes, I have the same problem sometimes.
I just uncheck it and check it again then run the program and it will work.