summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2021-10-19 13:26:35 +0200
committerRobert Griebl <robert.griebl@qt.io>2021-11-05 10:59:28 +0000
commit0501bf915038168aa3ceea23f924afc86bf74bdb (patch)
treefaf3efd9ba8fca33de654755dfc2712e54d68dc4
parent67cb6dd723bdf6cfadb7eabeee97b67035c3a706 (diff)
Doc: Add a Qt-specific include path for the documentation build
The custom documentation target does not currently provide any Qt include paths for QDoc. Add at least one path relative to QT_INSTALL_DOCS. Change-Id: I02926e5186c45bf5726e21e40dd69a86fabc47fe Pick-to: 6.2 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
-rw-r--r--doc/qtapplicationmanager-project.qdocconf6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/qtapplicationmanager-project.qdocconf b/doc/qtapplicationmanager-project.qdocconf
index e41433fd..742e0611 100644
--- a/doc/qtapplicationmanager-project.qdocconf
+++ b/doc/qtapplicationmanager-project.qdocconf
@@ -5,7 +5,11 @@ version = $QT_VERSION
# needed for the new clang based qdoc parser in Qt 5.11
moduleheader = QtApplicationManagerDoc
-includepaths = -I .
+includepaths = -I.
+
+# TODO: the doc build target doesn't currently provide any Qt include paths
+# Add a relative path - might not be correct depending on Qt's build config
+includepaths += -I$QT_INSTALL_DOCS/../include
# \obsolete generates broken links and/or missing docs when used for QML
macro.qmlobsolete = "This method is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code."