Console window not displaying
-
@hskoglund said in Console window not displaying:
Edit: Good news! I jusr saw that you can revert to the old behavior (displaying a console window) via an option in the Build & Run, General tab. Look close to the bottom for the "Default for "Run in Terminal" and change it to "Enabled", voila :-)
Yes! It works, what a pleasure to see this good ol' black window again! Merci beaucoup !
Jean-Claude -
@hskoglund thank you for the answer! It helped me much!
-
You need to make the "Projects" tab active , then choose "Build & Run". In the "Run Settings" section you will find the checkbox to enable "Run in terminal". This is for Qt Creator version 10.0.0.
-
@Don-Kemlage This method works, but is there no better way?
-
@Elliot_foo said in Console window not displaying:
@Don-Kemlage This method works, but is there no better way?
There are other ways:
- Use
qDebug()
instead ofprintf()
, OR - Call
fflush(stdout);
after printf()
- Use
-
@hskoglund Oh man I need that, thank you!
-
@marcolino said in Console window not displaying:
Instead it works in the terminal in bottom of QT
That IS the embedded console