aboutsummaryrefslogtreecommitdiffstats
path: root/qtcreator.qbs
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2016-03-22 14:28:07 +0100
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2016-03-22 14:00:51 +0000
commit0bbd8a85d3cb646b60ed7cff628a11df0679b867 (patch)
treed217b9b72a383443d6b32b5bb2002123a51e82a2 /qtcreator.qbs
parent75bbd73b843b01c64314bbdc058ed7e366e2408d (diff)
Fix project resolving with qbs master.
Change-Id: Iee12398a4897d795ea5b8b6cadfec8f234ba069d Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'qtcreator.qbs')
-rw-r--r--qtcreator.qbs3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtcreator.qbs b/qtcreator.qbs
index d1bb6d7759..e03ddbf234 100644
--- a/qtcreator.qbs
+++ b/qtcreator.qbs
@@ -1,4 +1,5 @@
import qbs 1.0
+import qbs.Environment
import qbs.FileInfo
Project {
@@ -51,7 +52,7 @@ Project {
property string ide_bin_path: qbs.targetOS.contains("osx")
? ide_app_target + ".app/Contents/MacOS"
: ide_app_path
- property bool testsEnabled: qbs.getEnv("TEST") || qbs.buildVariant === "debug"
+ property bool testsEnabled: Environment.getEnv("TEST") || qbs.buildVariant === "debug"
property stringList generalDefines: [
"QT_CREATOR",
'IDE_LIBRARY_BASENAME="' + libDirName + '"',