PDA

View Full Version : debug -> invisible program



sarefo
16th January 2008, 13:22
i use the qt commercial edition on win2k. when i compile my program in release mode (msvc) it works fine. but when i compile it in debug mode, my program just exits, without displaying anything. is there a solution so that i can still debug my program and use qwt at the same time? ;)

using qwt-5.0.2

cheers

sarefo

jpn
16th January 2008, 13:34
Make sure you compile Qwt in same mode (debug vs. release). Mixing debug and release versions cause such problem with MSVC.

sarefo
16th January 2008, 13:48
so there's no other solution than to always compile in debug mode, and to recompile/install qwt each time i want to build a release? :(

jpn
16th January 2008, 14:21
Compile both versions in parallel. You can always install debug and release versions in separate folders if Qwt's .pro file doesn't add any prefix in debug mode.