PDA

View Full Version : Error on debug : Qwt 6.0.1



Octal
8th August 2011, 20:19
Hi everybody,

when trying to compile my application with qwt, in debug mode, I get this error message on runtime :



QWidget: Must construct a QApplication before a QPaintDevice


The bug doesn't come from my application since even when doing :



QApplication app(argc, argv);
QDialog dialog;
dialog.show();
return app.exec();


I'm still getting this error message.

However, it works great on release mode.

Uwe
8th August 2011, 23:01
That's because you are using a Qt library, that was built in release mode.

Uwe