View Single Post
Old 02-08-2020, 02:32 PM   #29
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,809
Karma: 6000000
Join Date: Nov 2009
Device: many
QGuiApplication inherits from QCoreApplication; and QApplication inherits from QGuiApplication. And our MainApplication inherits from QApplication.

But I think that QCoreApplication does not support gui like opengl but I could be wrong.

These should be static routines otherwise they could not be invoked before creation as is required here.

So unless I am all wet (and I could easily be!) then doing a QGuiApplication::setAttribute call right before MainApplication is created should be allowed.

Last edited by KevinH; 02-08-2020 at 02:37 PM.
KevinH is online now   Reply With Quote