QWidget / QApplication
Unsolved
General and Desktop
-
Hi
It means you have a global Qwidget outside main / as global variable.
Or you do not have a main that creates a QApplication object.show some code that says this :)
-
@krichen30 You may also get this error if you're mixing debug and release libraries on Windows.
-
@krichen30 At first I would try a clean rebuild.
-
@krichen30
Hi
You only have the Satistique class ?
and no other files?Does it say this when running from creator ?
-
@krichen30
Nope. If you dont have any global QWidgets/QObject before main is run, i
have no idea. -
@hskoglund
Very good guess since he as SQL classes. -
@krichen30
But do you have a static QSqlDatabase ?