summaryrefslogtreecommitdiffstats
path: root/src/platformheaders/nativecontexts/qeglnativecontext.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/qeglnativecontext.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/qeglnativecontext.h')
-rw-r--r--src/platformheaders/nativecontexts/qeglnativecontext.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/platformheaders/nativecontexts/qeglnativecontext.h b/src/platformheaders/nativecontexts/qeglnativecontext.h
index eae74126fd..d4a0e998da 100644
--- a/src/platformheaders/nativecontexts/qeglnativecontext.h
+++ b/src/platformheaders/nativecontexts/qeglnativecontext.h
@@ -46,6 +46,11 @@
QT_BEGIN_NAMESPACE
+#if defined(Q_CLANG_QDOC)
+typedef int EGLContext;
+typedef int EGLDisplay;
+#endif
+
struct QEGLNativeContext
{
QEGLNativeContext()