Do not rely on transitive includes for QESDP

Explicitly include <QtCore/qshareddata.h> into the headers that use
QESDP.

This commit amends 6ff4c3d787.

Found during Qt 6.6 API review.

Change-Id: Ia52d9e7551295f0c7380c7ed33b68f452cb689aa
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 314d86335d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Ivan Solovev 2023-08-18 11:02:58 +02:00 committed by Qt Cherry-pick Bot
parent 3e9c292dbc
commit 8ab0d1e9e8
2 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,8 @@
#include <QtGui/qtguiglobal.h>
#include <QtGui/qfont.h>
#include <QtCore/qshareddata.h>
QT_BEGIN_NAMESPACE

View File

@ -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