qt5base-lts/tests/auto/corelib/serialization/serialization.pro
Albert Astals Cid 85a9009f25 QPixmap: More safe failing if qApp is not a QGuiApplication
It can happen that QDataStream is fed a QVariant that contains a QPixmap
representation, that will make the application crash when trying to
restore it

This is specially important for cases in which applications expose dbus
interfaces with QVariantMaps

Change-Id: Ife4feaef30f30e7e27d88464bd6b2a247f743123
Reported-by: Fabian Vogt <fabian@ritter-vogt.de>
Reviewed-by: Fabian Vogt <fabian@ritter-vogt.de>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2019-03-22 08:06:43 +00:00

21 lines
386 B
Prolog

TEMPLATE = subdirs
SUBDIRS = \
json \
qcborstreamreader \
qcborstreamwriter \
qcborvalue \
qcborvalue_json \
qdatastream \
qdatastream_core_pixmap \
qtextstream \
qxmlstream
!qtHaveModule(gui): SUBDIRS -= \
qdatastream
!qtHaveModule(network): SUBDIRS -= \
qtextstream
!qtHaveModule(network)|!qtHaveModule(xml): SUBDIRS -= \
qxmlstream