PDA

View Full Version : qt without console window



jh
28th January 2006, 18:26
hi,

i complied a windows programm using qt4.1/g++ on windows. if click
on the exe in the windows explorer the
program is started but a console window
is opened, too. what flag should i use to avoid the console?
thanx in advance.

jh

jacek
28th January 2006, 18:33
Try removing "console" from CONFIG variable in your .pro file.

Timewarp
28th January 2006, 18:39
I'm using mingw on windows and I put -mwindows to the linker commands in my IDE

jh
28th January 2006, 20:01
I'm using mingw on windows and I put -mwindows to the linker commands in my IDE

this helped! thanx.

jh