Unsolved QWidget / QApplication
-
@aha_1980 how can i fix it ?
-
@krichen30 At first I would try a clean rebuild.
-
Hi
it doesn't look like you have any global widgets just a normal mainwindow.
So yeah, try as @aha_1980 suggest and completely wipe the
build folder. -
i delete the folder debug and i redebug it but nothing change same error ...
-
@krichen30
Hi
You only have the Satistique class ?
and no other files?Does it say this when running from creator ?
-
@mrjj i have another files but not include in this statistique class
-
do you have solution please !!!
-
@krichen30
Nope. If you dont have any global QWidgets/QObject before main is run, i
have no idea. -
Perhaps a QSqlDatabase? If there's a static instance, it will also cause this error.
-
@hskoglund
Very good guess since he as SQL classes. -
@hskoglund what is the relation between QSqlDatabase and QWidget ?
-
@krichen30
But do you have a static QSqlDatabase ?