summaryrefslogtreecommitdiff
path: root/src/tools/cplusplustools.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 /src/tools/cplusplustools.qbs
parent75bbd73b843b01c64314bbdc058ed7e366e2408d (diff)
downloadqt-creator-0bbd8a85d3cb646b60ed7cff628a11df0679b867.tar.gz
Fix project resolving with qbs master.
Change-Id: Iee12398a4897d795ea5b8b6cadfec8f234ba069d Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/tools/cplusplustools.qbs')
-rw-r--r--src/tools/cplusplustools.qbs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tools/cplusplustools.qbs b/src/tools/cplusplustools.qbs
index 1b1bec39e0..fe2fc5cf16 100644
--- a/src/tools/cplusplustools.qbs
+++ b/src/tools/cplusplustools.qbs
@@ -1,6 +1,9 @@
+import qbs
+import qbs.Environment
+
Project {
name: "CPlusPlus Tools"
- condition: qbs.getEnv("BUILD_CPLUSPLUS_TOOLS")
+ condition: Environment.getEnv("BUILD_CPLUSPLUS_TOOLS")
references: [
"cplusplus-ast2png/cplusplus-ast2png.qbs",
"cplusplus-frontend/cplusplus-frontend.qbs",