User forums > Help

QT Console Window Problem

(1/1)

sggarps:
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.

Jenna:

--- Quote from: mws535 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.

--- End quote ---

Afaik that happens with debug build-target.

sggarps:
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".

Navigation

[0] Message Index

Go to full version