summaryrefslogtreecommitdiffstats
path: root/src/render/render.pro
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2018-02-07 13:21:09 +0100
committerTopi Reiniƶ <topi.reinio@qt.io>2018-02-09 12:07:25 +0000
commitc8964b8f1cf56718a189b0f57bad446cec30a8b8 (patch)
tree221f917586c8c50f862361cc7c41e0865499e4ef /src/render/render.pro
parentc8a48a9a28889598cb2a06fc8d5deb9b803509ca (diff)
Doc: Divide documentation into submodules
QDoc in Qt 5.11 will use Clang (libclang) to parse C++ documentation. In order to do that, Clang needs to have the include paths available when parsing source; qmake provides that information to QDoc but only when the documentation project is located under the correct module (source) path. By having dedicated doc projects for Qt 3D Core, Render, Input, etc. the number of documentation warnings is signicantly reduced. A top-level 'Qt 3D' project is still kept, and contains the landing page, overview, examples, and top-level 'C++ classes' and 'QML types' pages that list all types documented across all Qt 3D submodules. Change-Id: Id5936de36f31c2a8764a64e1e9d7ae0d10e8ab14 Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'src/render/render.pro')
-rw-r--r--src/render/render.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/render.pro b/src/render/render.pro
index 8c24f2203..29110abea 100644
--- a/src/render/render.pro
+++ b/src/render/render.pro
@@ -41,4 +41,6 @@ MODULE_PLUGIN_TYPES = \
geometryloaders \
renderplugins
+QMAKE_DOCS = $$PWD/doc/qt3drender.qdocconf
+
load(qt_module)