Revert "Qbs: Replace deprecated qbs.getEnv with Environment.getEnv"

We still need to support qbs 1.4.

This reverts commit 7c8744e6cd.

Change-Id: Ic8207a4994ec59665374a94bd8ee921b067856db
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2016-04-12 07:37:01 +00:00
parent 017fddbc3f
commit 8dadafb9e0
6 changed files with 18 additions and 25 deletions

View File

@@ -1,8 +1,6 @@
import qbs.Environment
Project {
name: "CPlusPlus Tools"
condition: Environment.getEnv("BUILD_CPLUSPLUS_TOOLS")
condition: qbs.getEnv("BUILD_CPLUSPLUS_TOOLS")
references: [
"3rdparty/cplusplus-keywordgen/cplusplus-keywordgen.qbs",
"cplusplus-ast2png/cplusplus-ast2png.qbs",