Do not rely on transitive includes for QESDP
Explicitly include <QtCore/qshareddata.h> into the headers that use QESDP. This commit amends 6ff4c3d787ecc2e6d2740f22d0406b34346faede. Found during Qt 6.6 API review. Pick-to: 6.6 Change-Id: Ia52d9e7551295f0c7380c7ed33b68f452cb689aa Reviewed-by: Marc Mutz <marc.mutz@qt.io>
This commit is contained in:
parent
470b2b8ad9
commit
314d86335d
@ -7,6 +7,8 @@
|
||||
#include <QtGui/qtguiglobal.h>
|
||||
#include <QtGui/qfont.h>
|
||||
|
||||
#include <QtCore/qshareddata.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
|
||||
|
@ -6,9 +6,11 @@
|
||||
|
||||
#include <QtGui/qtguiglobal.h>
|
||||
#include <QtGui/qfont.h>
|
||||
|
||||
#ifndef QT_INCLUDE_COMPAT
|
||||
#include <QtCore/qrect.h>
|
||||
#endif
|
||||
#include <QtCore/qshareddata.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user