diff options
author | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-06-27 09:50:06 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-06-30 10:35:51 +0200 |
commit | 4d90c932381ddd6dec3a41b9e179032954b4fe70 (patch) | |
tree | 9d22caf678c6196329bc054fca9733f35429700f /src/platformheaders/nativecontexts | |
parent | ba79f36cb1319a279068adb6d02a8993cbc62613 (diff) |
Include QMetaType in the native context headers
Just to be safe. The Q_DECLARE_METATYPE needs this.
And including some Qt header is necessary anyways.
Change-Id: I6e97493434760f37a79e735293cef8d4213c2e11
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Diffstat (limited to 'src/platformheaders/nativecontexts')
-rw-r--r-- | src/platformheaders/nativecontexts/qcocoanativecontext.h | 1 | ||||
-rw-r--r-- | src/platformheaders/nativecontexts/qeglnativecontext.h | 1 | ||||
-rw-r--r-- | src/platformheaders/nativecontexts/qglxnativecontext.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/platformheaders/nativecontexts/qcocoanativecontext.h b/src/platformheaders/nativecontexts/qcocoanativecontext.h index e1cefd24b3..34994089c4 100644 --- a/src/platformheaders/nativecontexts/qcocoanativecontext.h +++ b/src/platformheaders/nativecontexts/qcocoanativecontext.h @@ -42,6 +42,7 @@ #ifndef QCOCOANATIVECONTEXT_H #define QCOCOANATIVECONTEXT_H +#include <QtCore/QMetaType> #include <AppKit/NSOpenGL.h> QT_BEGIN_NAMESPACE diff --git a/src/platformheaders/nativecontexts/qeglnativecontext.h b/src/platformheaders/nativecontexts/qeglnativecontext.h index 7028d81347..a2411419ef 100644 --- a/src/platformheaders/nativecontexts/qeglnativecontext.h +++ b/src/platformheaders/nativecontexts/qeglnativecontext.h @@ -42,6 +42,7 @@ #ifndef QEGLNATIVECONTEXT_H #define QEGLNATIVECONTEXT_H +#include <QtCore/QMetaType> #include <EGL/egl.h> QT_BEGIN_NAMESPACE diff --git a/src/platformheaders/nativecontexts/qglxnativecontext.h b/src/platformheaders/nativecontexts/qglxnativecontext.h index e3dd547a8f..21ae334c25 100644 --- a/src/platformheaders/nativecontexts/qglxnativecontext.h +++ b/src/platformheaders/nativecontexts/qglxnativecontext.h @@ -42,6 +42,7 @@ #ifndef QGLXNATIVECONTEXT_H #define QGLXNATIVECONTEXT_H +#include <QtCore/QMetaType> #include <X11/Xlib.h> #include <GL/glx.h> |