News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

[QT and C::B] - GUI Application displays 'console' windows

Started by skunkos, November 17, 2010, 10:19:30 PM

Previous topic - Next topic

skunkos

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.

Jenna

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).

skunkos