I have a Qt application, and when I run this application, there is a console opening behind it. In development it is nice because i see debug outputs on the console, but when I want to give this executable to the customer there should be no console window.
how do I hide it?
(I am using Visual Studio 2008)
It sounds like your linker configuration is incorrect. Right-click the project, Properties, Linker, System, SubSystem setting. Make sure “Windows” is selected, not “Console”.
And, change main() to WinMain().