diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2022-02-06 20:29:54 +0100 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2022-03-17 17:14:37 +0100 |
commit | caed0c3ac3e86ee82dc2b64f2a60ef317e77268b (patch) | |
tree | e1f2ecfac3b53bf84ba0014d35ee2bdbeaf003b6 /src/gui/kernel | |
parent | ffa5820fa3bf8b28675129919d748373d6c77827 (diff) |
Gui: Do not depend on transitive includes
Change-Id: I27321235d9c8428de0cff1e22a618299b9e5a97f
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/gui/kernel')
-rw-r--r-- | src/gui/kernel/qaction.h | 1 | ||||
-rw-r--r-- | src/gui/kernel/qguiapplication_p.h | 1 | ||||
-rw-r--r-- | src/gui/kernel/qopenglcontext.h | 5 | ||||
-rw-r--r-- | src/gui/kernel/qplatformnativeinterface.cpp | 2 |
4 files changed, 7 insertions, 2 deletions
diff --git a/src/gui/kernel/qaction.h b/src/gui/kernel/qaction.h index 34d2c2fb14..d1d5b6d467 100644 --- a/src/gui/kernel/qaction.h +++ b/src/gui/kernel/qaction.h @@ -47,6 +47,7 @@ #include <QtGui/qicon.h> #include <QtCore/qstring.h> #include <QtCore/qvariant.h> +#include <QtCore/qobject.h> QT_REQUIRE_CONFIG(action); diff --git a/src/gui/kernel/qguiapplication_p.h b/src/gui/kernel/qguiapplication_p.h index 3100b408ef..21d7af81b8 100644 --- a/src/gui/kernel/qguiapplication_p.h +++ b/src/gui/kernel/qguiapplication_p.h @@ -55,6 +55,7 @@ #include <QtGui/qguiapplication.h> #include <QtGui/qicon.h> +#include <QtCore/QHash> #include <QtCore/QPointF> #include <QtCore/private/qcoreapplication_p.h> diff --git a/src/gui/kernel/qopenglcontext.h b/src/gui/kernel/qopenglcontext.h index 36c3ed3a67..90395b6209 100644 --- a/src/gui/kernel/qopenglcontext.h +++ b/src/gui/kernel/qopenglcontext.h @@ -45,8 +45,9 @@ #ifndef QT_NO_OPENGL #include <QtCore/qnamespace.h> -#include <QtCore/QObject> -#include <QtCore/QScopedPointer> +#include <QtCore/qobject.h> +#include <QtCore/qscopedpointer.h> +#include <QtCore/qset.h> #include <QtCore/qnativeinterface.h> #include <QtGui/QSurfaceFormat> diff --git a/src/gui/kernel/qplatformnativeinterface.cpp b/src/gui/kernel/qplatformnativeinterface.cpp index 15b08e195a..b2a36d2f49 100644 --- a/src/gui/kernel/qplatformnativeinterface.cpp +++ b/src/gui/kernel/qplatformnativeinterface.cpp @@ -38,6 +38,8 @@ ****************************************************************************/ #include "qplatformnativeinterface.h" +#include <QtCore/qvariant.h> +#include <QtCore/qmap.h> #include <QtGui/qcursor.h> QT_BEGIN_NAMESPACE |