summaryrefslogtreecommitdiffstats
path: root/src/platformheaders/nativecontexts/qcocoanativecontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/platformheaders/nativecontexts/qcocoanativecontext.h')
-rw-r--r--src/platformheaders/nativecontexts/qcocoanativecontext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/platformheaders/nativecontexts/qcocoanativecontext.h b/src/platformheaders/nativecontexts/qcocoanativecontext.h
index 16cabe1737..8227485b15 100644
--- a/src/platformheaders/nativecontexts/qcocoanativecontext.h
+++ b/src/platformheaders/nativecontexts/qcocoanativecontext.h
@@ -45,6 +45,10 @@
QT_BEGIN_NAMESPACE
+#if defined(Q_CLANG_QDOC)
+typedef void NSOpenGLContext;
+#endif
+
struct QCocoaNativeContext
{
QCocoaNativeContext()