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>
bb10
Laszlo Agocs 2014-06-27 09:50:06 +02:00
parent ba79f36cb1
commit 4d90c93238
3 changed files with 3 additions and 0 deletions

View File

@ -42,6 +42,7 @@
#ifndef QCOCOANATIVECONTEXT_H
#define QCOCOANATIVECONTEXT_H
#include <QtCore/QMetaType>
#include <AppKit/NSOpenGL.h>
QT_BEGIN_NAMESPACE

View File

@ -42,6 +42,7 @@
#ifndef QEGLNATIVECONTEXT_H
#define QEGLNATIVECONTEXT_H
#include <QtCore/QMetaType>
#include <EGL/egl.h>
QT_BEGIN_NAMESPACE

View File

@ -42,6 +42,7 @@
#ifndef QGLXNATIVECONTEXT_H
#define QGLXNATIVECONTEXT_H
#include <QtCore/QMetaType>
#include <X11/Xlib.h>
#include <GL/glx.h>