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: 9,576
Karma: 6774048
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 offline   Reply With Quote