[Interest] promoting a QGuiApplication to a QApplication?
Thiago Macieira
thiago.macieira at intel.com
Wed Jul 11 17:01:25 CEST 2018
On Wednesday, 11 July 2018 07:48:31 PDT René J.V. Bertin wrote:
> The only guarantee I can think of is would be promoting a QGuiApplication
> instance to QApplication at runtime, in the plugin.
There's no such C++ concept as "promote a class". What you're asking is not
possible.
If the QCoreApplication instance is an object of class QGuiApplication, it's
an object of class QGuiApplication and no other.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list