[Development] Can QImage format plugins require QGuiApplication?
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Tue Apr 14 02:08:22 CEST 2020
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 | giuseppe.dangelo at kdab.com | 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4329 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.qt-project.org/pipermail/development/attachments/20200414/382fe285/attachment.bin>
More information about the Development
mailing list