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.

HTH,
--
Giuseppe D'Angelo | [email protected] | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

Attachment: smime.p7s
Description: Firma crittografica S/MIME

_______________________________________________
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development

Reply via email to