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.

My 2 c,
--
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: S/MIME Cryptographic Signature

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

Reply via email to