summaryrefslogtreecommitdiff
path: root/qtcreator.qbs
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2013-02-20 17:05:32 +0100
committerChristian Kandeler <christian.kandeler@digia.com>2013-02-21 10:32:27 +0100
commit030186965f3e9a3cf1e6526bafad59580e0bdb33 (patch)
tree9e0a38d17971dd285798cd3c74de987c141cea44 /qtcreator.qbs
parent5cf11e2bbdf02ac25338efc028bfd1f3700d0f8a (diff)
downloadqt-creator-030186965f3e9a3cf1e6526bafad59580e0bdb33.tar.gz
Adapt qbs files to new module property access syntax.
Change-Id: Idf2c04e250be7fcbbb927f423b5651d58a0d4bac Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'qtcreator.qbs')
-rw-r--r--qtcreator.qbs2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtcreator.qbs b/qtcreator.qbs
index fb9dd1074e..b3356c921e 100644
--- a/qtcreator.qbs
+++ b/qtcreator.qbs
@@ -109,7 +109,7 @@ Project {
cmd.ide_version_major = product.ide_version_major;
cmd.ide_version_minor = product.ide_version_minor;
cmd.ide_version_release = product.ide_version_release;
- cmd.onWindows = (product.modules.qbs.targetOS == "windows");
+ cmd.onWindows = (product.moduleProperty("qbs", "targetOS") === "windows");
cmd.sourceCode = function() {
var file = new TextFile(input.fileName);
var content = file.readAll();