14.04.2020, 02:27, "Giuseppe D'Angelo via Development" <development@qt-project.org>: > Il 13/04/20 18:50, Kevin Kofler ha scritto: >> Today, a user on #fedora-kde ran across a crash which resulted from: >> * a GTK+/GNOME application (Jami) using (for some reason) QImage to load >> images, without a QGuiApplication or QApplication constructed, vs. >> * a QImage format plugin (QtPBFImagePlugin) using font APIs that require >> QGuiApplication and abort otherwise. >> >> Obviously, one or the other must be wrong. So, who is to blame? > > 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. -- Regards, Konstantin _______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development