Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

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

(1/1)

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:
thx for advice....everything works well now

Navigation

[0] Message Index

Go to full version