Using the console along with a Qt GUI
I apologize if this has been posted before, but I have extensively searched my specific issue and have not found anything.
I am working on a project and have developed some modeling software that runs entirely in the console. However, as a part of configuration the program to run, there is a GUI where the user can specify some basic input settings before the program begins. Everything is functioning perfectly except that once the initial configuration is complete, the console window never appears.
A few more details to go along with this.
- This is running on Windows 7 using qt 5.0.* (I do not remember if it is 5.0.1 or 5.0.2)
- The project is setup for a static deployment, and I know that that part is functioning properly
- I have tried adding "CONFIG += console" or "CONFIG += qt console", and nothing has changed.
- When I run the application in Qt Creator, everything is printed to the debugging interface/console at the bottom of the application.
Does anyone have any advice for what I should do to try to get this to work?
After adding "CONFIG+=console" did you configure QtCreator to run your project in its own terminal (in Projects −> Run (at the top near "Build")−> Checkbox "Run in terminal") ?
We had not tried that, and when we did that the console appeared. However, nothing ever printed to it, even when using a basic program that was just supposed to print "Hello, World" to the console.