From 41a6877fe8ac8afde28f96e75e033f53f22939d4 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Mon, 15 Jan 2018 08:37:43 +0100 Subject: 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 --- src/platformheaders/nativecontexts/qglxnativecontext.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/platformheaders/nativecontexts/qglxnativecontext.h') 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() -- cgit v1.2.3