summaryrefslogtreecommitdiffstats
path: root/src/platformheaders/nativecontexts/qglxnativecontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/platformheaders/nativecontexts/qglxnativecontext.h')
-rw-r--r--src/platformheaders/nativecontexts/qglxnativecontext.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/platformheaders/nativecontexts/qglxnativecontext.h b/src/platformheaders/nativecontexts/qglxnativecontext.h
index 0895261fdd..2b566d127a 100644
--- a/src/platformheaders/nativecontexts/qglxnativecontext.h
+++ b/src/platformheaders/nativecontexts/qglxnativecontext.h
@@ -46,6 +46,13 @@
QT_BEGIN_NAMESPACE
+#if defined(Q_CLANG_QDOC)
+typedef int GLXContext;
+typedef void Display;
+typedef int Window;
+typedef int VisualID;
+#endif
+
struct QGLXNativeContext
{
QGLXNativeContext()