diff options
Diffstat (limited to 'qtcreator.qbs')
-rw-r--r-- | qtcreator.qbs | 3 |
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 + '"', |