Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: skunkos on November 17, 2010, 10:19:30 pm
-
Hi.
I use QT - latest version with C::B 10.05.
1. I create QT GUI Project and compile default code that should show GUI application with 'QUIT' button.
2. But when i run that compiled program there appears GUI of 'QUIT' program and another console window appears too.
I think this shouldn't happen because when i build the same code in QT Creator IDE, there appears just GUI windows and console windows isn't shown.
I use GCC compiler and Windows 7.
Excuse my bad english.
-
Check "Project -> Properties -> Build targets" and make sure that the type is set to "GUI application".
If that does not work, try to add -mwindows manually to the linker settings (Other linker options).
-
thx for advice....everything works well now