Get make docs working better on macOS
The system include paths need to be added to the include paths passed to Clang so it can find the standard types. Change-Id: I83e13e73a606130e3bc4762b01368bcd4a8bb0dc Reviewed-by: Paul Wicking <paul.wicking@qt.io>bb10
parent
8c6824f2af
commit
84892e5e69
|
|
@ -45,6 +45,8 @@ isEmpty(WIN_INCLUDETEMP) {
|
|||
QDOC_INCLUDE_PATHS=@$$shell_quote($$WIN_INCLUDETEMP)
|
||||
}
|
||||
|
||||
macos: QDOC_INCLUDE_PATHS += $$join(QMAKE_DEFAULT_INCDIRS," -I","-I")
|
||||
|
||||
!build_online_docs: qtPrepareTool(QHELPGENERATOR, qhelpgenerator)
|
||||
|
||||
qtPrepareTool(QTATTRIBUTIONSSCANNER, qtattributionsscanner)
|
||||
|
|
@ -93,7 +95,6 @@ qtattributionsscanner.CONFIG += phony
|
|||
QMAKE_EXTRA_TARGETS += qtattributionsscanner
|
||||
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue