aboutsummaryrefslogtreecommitdiffstats
path: root/src/macextras/doc/QtMacExtras/qmacextrasglobal.h
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2018-03-01 13:44:35 +0100
committerTopi Reiniƶ <topi.reinio@qt.io>2018-04-12 20:59:42 +0000
commitfe8be8f48cf384a2f1b0f7c03a83aaa81680151b (patch)
treef4ddea44be8ae40015c51444118d9c6af7a7d099 /src/macextras/doc/QtMacExtras/qmacextrasglobal.h
parent5f9b1bca4af0bc7801d513a9424c70b47812cf12 (diff)
Doc: Fix documentation issues when using Clang-enabled QDocv5.11.0-beta4
QDoc in Qt 5.11 uses Clang to parse the C++ source for documentation comments. Unlike the old parser, Clang requires a module header to be present as well as correct include paths to generate the docs correctly. However, these are available from the build system only when building on macOS, not when generating the documentation on another system (e.g. Linux). To fix this, create a 'dummy' module header specific to doc builds and add required relative include paths and DEFINEs to .qdocconf. Change-Id: Iadc1475d16c5570b86de7ea8e17bfeb02d8412eb Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'src/macextras/doc/QtMacExtras/qmacextrasglobal.h')
-rw-r--r--src/macextras/doc/QtMacExtras/qmacextrasglobal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/macextras/doc/QtMacExtras/qmacextrasglobal.h b/src/macextras/doc/QtMacExtras/qmacextrasglobal.h
new file mode 100644
index 0000000..93de6b4
--- /dev/null
+++ b/src/macextras/doc/QtMacExtras/qmacextrasglobal.h
@@ -0,0 +1 @@
+#include "../../qmacextrasglobal.h"