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
This commit is contained in:
parent
47fd91bb89
commit
84894965b7
|
@ -98,6 +98,10 @@ doc_command = $$QDOC $$QMAKE_DOCS
|
||||||
prepare_docs {
|
prepare_docs {
|
||||||
prepare_docs.commands += $$doc_command -prepare $$PREP_DOC_INDEXES -no-link-errors $$QDOC_INCLUDE_PATHS
|
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
|
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
|
prepare_docs.depends += qtattributionsscanner
|
||||||
} else {
|
} else {
|
||||||
html_docs.commands += $$doc_command $$DOC_INDEXES $(QDOC_INCLUDE_PATHS)
|
html_docs.commands += $$doc_command $$DOC_INDEXES $(QDOC_INCLUDE_PATHS)
|
||||||
|
|
Loading…
Reference in New Issue