diff options
author | Joerg Bornemann <joerg.bornemann@digia.com> | 2013-10-31 09:47:54 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2013-10-31 11:36:14 +0100 |
commit | e2e29f4919cd8e9d8c4d8c368e01d13cc6df4bb7 (patch) | |
tree | 7b8896b6fd5c9f383a2bc0b3d1a9f3401199f17a | |
parent | 62a65190bc90c1a5e0cf0870669b9bb24c9e5522 (diff) | |
download | qbs-e2e29f4919cd8e9d8c4d8c368e01d13cc6df4bb7.tar.gz |
yield error on missing qbs.architecture property
By now, everybody should've update their profiles.
Change-Id: I1e56d2e1c0685e0d867418aac2e1e146cd810451
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
-rw-r--r-- | share/qbs/modules/qbs/common.qbs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/share/qbs/modules/qbs/common.qbs b/share/qbs/modules/qbs/common.qbs index e866c02e4..d81379709 100644 --- a/share/qbs/modules/qbs/common.qbs +++ b/share/qbs/modules/qbs/common.qbs @@ -39,10 +39,9 @@ Module { } validate: { - if (!architecture) { // ### don't warn but throw in 1.2 - print("WARNING: qbs.architecture is not set. " + if (!architecture) { + throw new Error("qbs.architecture is not set. " + "You might want to re-run 'qbs detect-toolchains'."); - return; } var architectureSynonyms = { |