diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2014-10-29 14:52:56 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2014-10-31 10:33:21 +0100 |
commit | 4e417fb5bc368c3e19f7a9df52ef36b60cff3d22 (patch) | |
tree | 098f7c33a43e987f5af90d7fa463fd5a371df043 /qbs-resources | |
parent | 01286887e9867723c7854c4af169fb37de946a74 (diff) |
qbs build: Set minimum Qt version.
Change-Id: I4cd893b63d58b22001a1728a9adca78db005f8c7
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'qbs-resources')
-rw-r--r-- | qbs-resources/imports/QbsProduct.qbs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qbs-resources/imports/QbsProduct.qbs b/qbs-resources/imports/QbsProduct.qbs index 39b0cc5a0..daf2e6efa 100644 --- a/qbs-resources/imports/QbsProduct.qbs +++ b/qbs-resources/imports/QbsProduct.qbs @@ -1,5 +1,8 @@ import qbs +import QbsFunctions Product { Depends { name: "Qt.core" } + property string minimumQtVersion: "5.1.0" + condition: QbsFunctions.versionIsAtLeast(Qt.core.version, minimumQtVersion) } |