From 84894965b722f3968d4ba0f815b3e48351bce421 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Sat, 14 May 2022 17:41:01 +0800 Subject: [PATCH] pass default include directories to qdoc Bug: https://bugs.debian.org/908328 Forwarded: no Last-Update: 2020-01-28 Gbp-Pq: Name qdoc_default_incdirs.diff --- mkspecs/features/qt_docs.prf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mkspecs/features/qt_docs.prf b/mkspecs/features/qt_docs.prf index 095bf15d..5178a7d8 100644 --- 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)