diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2018-04-04 13:12:41 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2018-04-04 12:08:40 +0000 |
commit | d2d5208819559069a9c8bdb6ac5bc43dfcc8e887 (patch) | |
tree | ad8462f58e9e4570e3fcd2241f0e00a93948a195 /qbs/imports | |
parent | 0029231e3bb623469235533f732a5cf305918d56 (diff) |
qbs build: Enable the vcs module only for commercial plugins
The other ones are in the Qt Creator source tree and should not get
rebuilt on repo metadata changes, because they do not make use of
QTC_PLUGIN_REVISION.
Change-Id: I216a89de4411948b7ccad65f883d0d8782a283d4
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'qbs/imports')
-rw-r--r-- | qbs/imports/QtcCommercialPlugin.qbs | 1 | ||||
-rw-r--r-- | qbs/imports/QtcPlugin.qbs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/qbs/imports/QtcCommercialPlugin.qbs b/qbs/imports/QtcCommercialPlugin.qbs index e3ef7a3757..712ad9f157 100644 --- a/qbs/imports/QtcCommercialPlugin.qbs +++ b/qbs/imports/QtcCommercialPlugin.qbs @@ -3,4 +3,5 @@ import qbs QtcPlugin { Depends { name: "LicenseChecker"; required: false } cpp.defines: base.concat(LicenseChecker.present ? ["LICENSECHECKER"] : []) + pluginjson.useVcsData: true } diff --git a/qbs/imports/QtcPlugin.qbs b/qbs/imports/QtcPlugin.qbs index 7606b02504..4fc7917c41 100644 --- a/qbs/imports/QtcPlugin.qbs +++ b/qbs/imports/QtcPlugin.qbs @@ -17,6 +17,7 @@ QtcProduct { Depends { name: "ExtensionSystem" } Depends { name: "pluginjson" } + pluginjson.useVcsData: false Depends { condition: qtc.testsEnabled name: "Qt.testlib" |