On Dienstag, 14. April 2020 02:08:22 CEST Giuseppe D'Angelo via Development wrote: > Hi, > > On 4/14/20 1:34 AM, Konstantin Tokarev wrote: > >> The golden rule is that you're not allowed to touch any Qt API without > >> creating a Q*Application object first, unless the documentation says > >> otherwise. > > > > Question is whether Q_Core_Application should be sufficient for using and > > image format plugin, or QGuiApplication/QApplication is required. > > No, any GUI-related API requires QGuiApplication, and any widget-related > API QApplication. >
In theory, but see https://codereview.qt-project.org/c/qt/qtbase/+/47846[1] Best regards Allan -------- [1] https://codereview.qt-project.org/c/qt/qtbase/+/47846
_______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development