Forwarded: https://codereview.qt-project.org/c/qbs/qbs/+/404053
Last-Update: 2022-04-02
- qbs.qch should go to QT_INSTALL_DOCS, not to QBS_DOC_INSTALL_DIR
(which ends with /html by default).
- HTML documentation was not installed at all.
Gbp-Pq: Name docs_install_path.diff
add_custom_target("${_qch_target}" DEPENDS "${_qch_artifact}")
add_dependencies(qbs_qch_docs "${_qch_target}")
- install(FILES "${_qch_outputdir}/${_target}.qch" DESTINATION "${_arg_INSTALL_DIR}"
+ install(FILES "${_qch_outputdir}/${_target}.qch" DESTINATION "${QT_INSTALL_DOCS}"
COMPONENT qbs_qch_docs)
+ install(DIRECTORY "${_qch_outputdir}/html/" DESTINATION "${_arg_INSTALL_DIR}"
+ COMPONENT qbs_html_docs)
endfunction()
# Helper functions: