QWidget / QApplication
-
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 :)
-
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 :)
-
there is a something weird !! when i run with release mode it works but not with debug mode
@krichen30 You may also get this error if you're mixing debug and release libraries on Windows.
-
@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
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. -
@hskoglund what is the relation between QSqlDatabase and QWidget ?
-
@hskoglund what is the relation between QSqlDatabase and QWidget ?
@krichen30
But do you have a static QSqlDatabase ?