20 lines
787 B
Diff
20 lines
787 B
Diff
Description: pass default include directories to qdoc
|
|
Author: Martin Smith <martin.smith@qt.io>
|
|
Bug: https://bugs.debian.org/908328
|
|
Forwarded: no
|
|
Last-Update: 2018-10-29
|
|
|
|
--- a/mkspecs/features/qt_docs.prf
|
|
+++ b/mkspecs/features/qt_docs.prf
|
|
@@ -78,6 +78,10 @@ doc_command = $$QDOC $$QMAKE_DOCS
|
|
prepare_docs {
|
|
prepare_docs.commands += $$doc_command -prepare $$PREP_DOC_INDEXES -no-link-errors $(INCPATH)
|
|
generate_docs.commands += $$doc_command -generate $$DOC_INDEXES $(INCPATH)
|
|
+ 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 $(INCPATH)
|