aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2018-01-15 09:15:25 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2018-01-15 19:21:38 +0000
commit88d75f72d3ac32ceac806831741a64e5d425d4a5 (patch)
tree49bbf5f1ea945334abd453671d47c6686a8fd217 /share
parente91f38ba6590211753f6adb4a5a10eb6691fa021 (diff)
Fix setupBuildEnvironment in cli module
Module properties must be accessed via product. This amends 2ff14a89. Change-Id: Icab99041377c82cbe0ea75786075baff05da9aca Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'share')
-rw-r--r--share/qbs/modules/cli/CLIModule.qbs2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/modules/cli/CLIModule.qbs b/share/qbs/modules/cli/CLIModule.qbs
index c2869bf00..866580029 100644
--- a/share/qbs/modules/cli/CLIModule.qbs
+++ b/share/qbs/modules/cli/CLIModule.qbs
@@ -90,7 +90,7 @@ Module {
setupBuildEnvironment: {
var v = new ModUtils.EnvironmentVariable("PATH", product.qbs.pathListSeparator,
product.qbs.hostOS.contains("windows"));
- v.prepend(toolchainInstallPath);
+ v.prepend(product.cli.toolchainInstallPath);
v.set();
}