summaryrefslogtreecommitdiff
path: root/share/qbs
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2013-10-10 13:24:01 +0200
committerJoerg Bornemann <joerg.bornemann@digia.com>2013-10-10 14:41:29 +0200
commit26e36605ef7af968b287972ee97ec073c6fee421 (patch)
tree76686251b51829c700df931ab07ce2999c2bee59 /share/qbs
parent92b0191f2847c7bc57da12e3890c85f55cc162a0 (diff)
downloadqbs-26e36605ef7af968b287972ee97ec073c6fee421.tar.gz
introduce Module.validate
This property can be used to validate the property values of a module. Task-number: QBS-319 Change-Id: I3d50c95cca16c5f0ad356fca02a0588679444cc9 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'share/qbs')
-rw-r--r--share/qbs/modules/Qt/core/core.qbs3
1 files changed, 1 insertions, 2 deletions
diff --git a/share/qbs/modules/Qt/core/core.qbs b/share/qbs/modules/Qt/core/core.qbs
index 452605885..a9d857829 100644
--- a/share/qbs/modules/Qt/core/core.qbs
+++ b/share/qbs/modules/Qt/core/core.qbs
@@ -113,8 +113,7 @@ Module {
additionalProductFileTags: ["qm"]
- setupBuildEnvironment: {
- // Not really a setup in this case. Just some sanity checks.
+ validate: {
if (!binPath)
throw "Qt.core.binPath not set. Set Qt.core.binPath in your profile.";
if (!incPath)