[POSSIBLE BUG] QT Console Application appears in Application Output panel instead of Console Window
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?
Do you mean
Project Mode -> Run -> run in terminalin Qt creator?
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.
yes, I have the same problem sometimes.
I just uncheck it and check it again then run the program and it will work.