summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_installs.prf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features/qt_installs.prf')
-rw-r--r--mkspecs/features/qt_installs.prf8
1 files changed, 8 insertions, 0 deletions
diff --git a/mkspecs/features/qt_installs.prf b/mkspecs/features/qt_installs.prf
index 100ad59c66..507d3ebddc 100644
--- a/mkspecs/features/qt_installs.prf
+++ b/mkspecs/features/qt_installs.prf
@@ -47,3 +47,11 @@ qt_install_module {
warning("Project $$basename(_PRO_FILE_) is a module, but has not defined MODULE_PRI, which is required for Qt to expose the module to other projects.")
}
}
+
+qt_install_module_docs {
+ module_docs.files = $$QMAKE_DOCS_OUTPUTDIR
+ module_docs.path = $$[QT_INSTALL_DOCS]
+ module_docs.CONFIG += no_check_exist directory
+ module_docs.depends += docs
+ INSTALLS += module_docs
+}