Planned maintenance has been done but it did not solve the problem. So work will continue on this and a new time for trying updates will be announced asap.
How to hide console application
I just have a small console application, which is doing some pretty short term things and closes afterwards. Every time I start this application, the console window shows up for a very short time. I just don't want to see it anymore.
How can I hide the console window?
(Using Windows 7 64bit and Windows XP Pro)
Sam last edited by
Check if this solves your problem
Goto Projects->Run Settings and see if Run in terminal is checked . If checked then uncheck it and run the application again.
Try if this works.
Sorry cannot find a "Run in terminal" checkbox.
Did I understand you right?
You want me to click onto the Project Button between Debug and analyze right? (Just guessing the names of the buttons. Actually I'm using a German version of QtCreator)
There is no special Settings Button and there is also no checkbox called "Run in terminal"
Novynn last edited by
For windows, you can use the "FreeConsole":http://msdn.microsoft.com/en-us/library/windows/desktop/ms683150.aspx native function.
It may flicker when the application is first activated, but should do the trick. Use "AllocConsole":http://msdn.microsoft.com/en-us/library/windows/desktop/ms681944.aspx to remake it if you need.
andre last edited by
Check to see if your .pro file has this in it:
CONFIG += CONSOLE
If you find this, remove it. Then re-run qmake, and rebuild your application. That should get rid of the window.
Great! To remove CONFIG += CONSOLE is the solution!
Thanks a lot!!