diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/platform/macos/qcocoanativeinterface.mm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/platform/macos/qcocoanativeinterface.mm b/src/gui/platform/macos/qcocoanativeinterface.mm index c075a07e66..f9d5f5dbe5 100644 --- a/src/gui/platform/macos/qcocoanativeinterface.mm +++ b/src/gui/platform/macos/qcocoanativeinterface.mm @@ -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) { |