summaryrefslogtreecommitdiffstats
path: root/src/platformheaders/nativecontexts/qglxnativecontext.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2014-06-27 09:50:06 +0200
committerLaszlo Agocs <laszlo.agocs@digia.com>2014-06-30 10:35:51 +0200
commit4d90c932381ddd6dec3a41b9e179032954b4fe70 (patch)
tree9d22caf678c6196329bc054fca9733f35429700f /src/platformheaders/nativecontexts/qglxnativecontext.h
parentba79f36cb1319a279068adb6d02a8993cbc62613 (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/qglxnativecontext.h')
-rw-r--r--src/platformheaders/nativecontexts/qglxnativecontext.h1
1 files changed, 1 insertions, 0 deletions
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>