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 _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest