aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/doc.qbs4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/doc.qbs b/doc/doc.qbs
index 29ccd9938..194d8e157 100644
--- a/doc/doc.qbs
+++ b/doc/doc.qbs
@@ -8,7 +8,9 @@ Project {
Product {
name: "qbs documentation"
builtByDefault: false
- type: ["qch", "qbsdoc.qdoc-html-fixed"]
+ type: Qt.core.config.contains("cross_compile") ?
+ ["qbsdoc.qdoc-html-fixed"] : [ "qbsdoc.qdoc-html-fixed", "qch"]
+
property string fixedHtmlDir: FileInfo.joinPaths(buildDirectory, "qdoc-html-fixed")
Depends { name: "Qt.core" }
Depends { name: "qbsbuildconfig" }