I'm running a very simple console app on Windows with Qt Creator.
When launching it, the dos console is openned, my output is displayed, but then the app terminates and the console immediately closes.
How can I make sure the console will stay open until the user presses a key ?