diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-05-06 21:18:11 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-05-10 10:56:56 +0200 |
commit | b0e8c52fd4ad17e0964993f36578bff7810e20ff (patch) | |
tree | b37a10b90f84822a13e745b45dc674d8ed743243 /src/gui/kernel/qopenglcontext.h | |
parent | 590f70a849d85c438385c313fb452f528fd304a4 (diff) |
Move QNativeInterface helpers to their own header file
The machinery is not needed for all translation units, so keep it out
of qglobal.h.
Change-Id: Ib0459a3f7bc036f56b0810eb750d4641f567f1fe
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/gui/kernel/qopenglcontext.h')
-rw-r--r-- | src/gui/kernel/qopenglcontext.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qopenglcontext.h b/src/gui/kernel/qopenglcontext.h index 60f3e3d03a..4d8c568ed5 100644 --- a/src/gui/kernel/qopenglcontext.h +++ b/src/gui/kernel/qopenglcontext.h @@ -47,6 +47,7 @@ #include <QtCore/qnamespace.h> #include <QtCore/QObject> #include <QtCore/QScopedPointer> +#include <QtCore/qnativeinterface.h> #include <QtGui/QSurfaceFormat> @@ -60,6 +61,7 @@ #include <QtGui/qopengl.h> #include <QtCore/qvariant.h> +#include <QtCore/qnativeinterface.h> QT_BEGIN_NAMESPACE |