View Full Version : debug -> invisible program

16th January 2008, 12: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



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

16th January 2008, 12: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? :(

16th January 2008, 13: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.