aboutsummaryrefslogtreecommitdiffstats
path: root/qbs/imports/QtcProduct.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'qbs/imports/QtcProduct.qbs')
-rw-r--r--qbs/imports/QtcProduct.qbs9
1 files changed, 8 insertions, 1 deletions
diff --git a/qbs/imports/QtcProduct.qbs b/qbs/imports/QtcProduct.qbs
index 0dc1e9b3b1..1caf073e98 100644
--- a/qbs/imports/QtcProduct.qbs
+++ b/qbs/imports/QtcProduct.qbs
@@ -19,7 +19,14 @@ Product {
Depends { name: "cpp" }
Depends { name: "qtc" }
- Depends { name: product.name + " dev headers"; required: false }
+ Depends {
+ name: product.name + " dev headers";
+ required: false
+ Properties {
+ condition: Utilities.versionCompare(qbs.version, "1.13") >= 0
+ enableFallback: false
+ }
+ }
Depends { name: "Qt.core"; versionAtLeast: "5.9.0" }
// TODO: Should fall back to what came from Qt.core for Qt < 5.7, but we cannot express that