Code::Blocks Forums

User forums => Help => Topic started by: sggarps on August 09, 2008, 02:10:51 am

Title: QT Console Window Problem
Post by: sggarps on August 09, 2008, 02:10:51 am
Hi,

This may not be a problem specific to Code::Blocks but I thought it might be worth asking here anyway. I have the Code::Blocks nightly build from the 2nd August 2008 and Qt 4.4.1. I've compiled some basic projects (basic windows and buttons etc). The projects compile just fine, but on running them I'm left with an annoying command console (Win XP Pro SP3) window in the background. Does anybody know how to get rid of it? I reckon this is probably a Qt build options problem but I thought I'd check here first.
Title: Re: QT Console Window Problem
Post by: Jenna on August 09, 2008, 10:00:36 am
Hi,

This may not be a problem specific to Code::Blocks but I thought it might be worth asking here anyway. I have the Code::Blocks nightly build from the 2nd August 2008 and Qt 4.4.1. I've compiled some basic projects (basic windows and buttons etc). The projects compile just fine, but on running them I'm left with an annoying command console (Win XP Pro SP3) window in the background. Does anybody know how to get rid of it? I reckon this is probably a Qt build options problem but I thought I'd check here first.

Afaik that happens with debug build-target.
Title: Re: QT Console Window Problem
Post by: sggarps on August 09, 2008, 11:08:29 am
Ahh I've got it sorted by changing the build options of the project to a GUI application. Project->Properties->Build Targets, change "Console Application" to "GUI Application".