summaryrefslogtreecommitdiffstats
path: root/src/platformheaders/nativecontexts/qcocoanativecontext.h
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2018-01-15 08:37:43 +0100
committerMartin Smith <martin.smith@qt.io>2018-01-16 16:59:09 +0000
commit41a6877fe8ac8afde28f96e75e033f53f22939d4 (patch)
tree7ecddcff22ecef3ec1b26855fc37757dade936c2 /src/platformheaders/nativecontexts/qcocoanativecontext.h
parentd2bb79be5e84590314a680ea7ad639838227eb8f (diff)
doc: Fix remaining qdoc warnings in platformheaders
clang needed to see so type definitions that aren't there for some platforms, so this update provides defaults when qdoc is running. Change-Id: I15e635b31dd651457f828f90c8dd132959c826e6 Reviewed-by: Martin Smith <martin.smith@qt.io>
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()