macOS: Always include non-GL native interfaces
Change-Id: Idc8e76b5cb7af8b8df54820a4150ac7d1e3d8944 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
parent
2b14556a96
commit
b1e234b224
@ -50,13 +50,14 @@ QT_BEGIN_NAMESPACE
|
||||
|
||||
using namespace QNativeInterface::Private;
|
||||
|
||||
QT_DEFINE_PRIVATE_NATIVE_INTERFACE(QCocoaWindow);
|
||||
QT_DEFINE_PRIVATE_NATIVE_INTERFACE(QCocoaMenu);
|
||||
QT_DEFINE_PRIVATE_NATIVE_INTERFACE(QCocoaMenuBar);
|
||||
|
||||
#ifndef QT_NO_OPENGL
|
||||
|
||||
QT_DEFINE_NATIVE_INTERFACE(QCocoaGLContext, QOpenGLContext);
|
||||
QT_DEFINE_PRIVATE_NATIVE_INTERFACE(QCocoaGLIntegration);
|
||||
QT_DEFINE_PRIVATE_NATIVE_INTERFACE(QCocoaWindow);
|
||||
QT_DEFINE_PRIVATE_NATIVE_INTERFACE(QCocoaMenu);
|
||||
QT_DEFINE_PRIVATE_NATIVE_INTERFACE(QCocoaMenuBar);
|
||||
|
||||
QOpenGLContext *QNativeInterface::QCocoaGLContext::fromNative(NSOpenGLContext *nativeContext, QOpenGLContext *shareContext)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user