2023-05-05 15:43:57 +08:00
|
|
|
From: Martin Smith <martin.smith@qt.io>
|
|
|
|
Date: Fri, 5 May 2023 07:44:33 +0000
|
|
|
|
Subject: pass default include directories to qdoc
|
|
|
|
|
2022-04-25 22:03:04 +08:00
|
|
|
Bug: https://bugs.debian.org/908328
|
|
|
|
Forwarded: no
|
|
|
|
Last-Update: 2020-01-28
|
|
|
|
---
|
2023-05-05 15:43:57 +08:00
|
|
|
mkspecs/features/qt_docs.prf | 4 ++++
|
2022-04-25 22:03:04 +08:00
|
|
|
1 file changed, 4 insertions(+)
|
|
|
|
|
2023-05-05 15:43:57 +08:00
|
|
|
diff --git a/mkspecs/features/qt_docs.prf b/mkspecs/features/qt_docs.prf
|
|
|
|
index e19d06f..05cdb11 100644
|
2022-04-25 22:03:04 +08:00
|
|
|
--- a/mkspecs/features/qt_docs.prf
|
|
|
|
+++ b/mkspecs/features/qt_docs.prf
|
|
|
|
@@ -98,6 +98,10 @@ doc_command = $$QDOC $$QMAKE_DOCS
|
|
|
|
prepare_docs {
|
|
|
|
prepare_docs.commands += $$doc_command -prepare $$PREP_DOC_INDEXES -no-link-errors $$QDOC_INCLUDE_PATHS
|
|
|
|
generate_docs.commands += $$doc_command -generate $$DOC_INDEXES $$QDOC_INCLUDE_PATHS
|
|
|
|
+ for (incdir, QMAKE_DEFAULT_INCDIRS) {
|
|
|
|
+ prepare_docs.commands += -I$$shell_quote($$incdir)
|
|
|
|
+ generate_docs.commands += -I$$shell_quote($$incdir)
|
|
|
|
+ }
|
|
|
|
prepare_docs.depends += qtattributionsscanner
|
|
|
|
} else {
|
|
|
|
html_docs.commands += $$doc_command $$DOC_INDEXES $(QDOC_INCLUDE_PATHS)
|