From 0501bf915038168aa3ceea23f924afc86bf74bdb Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Tue, 19 Oct 2021 13:26:35 +0200 Subject: 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 --- doc/qtapplicationmanager-project.qdocconf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'doc') 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." -- cgit v1.2.1