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
parent
ba79f36cb1
commit
4d90c93238
|
|
@ -42,6 +42,7 @@
|
|||
#ifndef QCOCOANATIVECONTEXT_H
|
||||
#define QCOCOANATIVECONTEXT_H
|
||||
|
||||
#include <QtCore/QMetaType>
|
||||
#include <AppKit/NSOpenGL.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@
|
|||
#ifndef QEGLNATIVECONTEXT_H
|
||||
#define QEGLNATIVECONTEXT_H
|
||||
|
||||
#include <QtCore/QMetaType>
|
||||
#include <EGL/egl.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@
|
|||
#ifndef QGLXNATIVECONTEXT_H
|
||||
#define QGLXNATIVECONTEXT_H
|
||||
|
||||
#include <QtCore/QMetaType>
|
||||
#include <X11/Xlib.h>
|
||||
#include <GL/glx.h>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue