aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2020-08-30 18:11:33 +0200
committerIvan Komissarov <ABBAPOH@gmail.com>2020-08-31 09:35:21 +0000
commitcdb6ca2ffbde72a391639bfbe671a06c136de456 (patch)
tree316f7e7358fd1f02da4f9d94c6099d37af8a770d /share
parente3eb873d0d3513b78e76f262307f292346d858a9 (diff)
Fix accessing toolchainInstallPath variable in NSIS module
Change-Id: Ib1892aed09efaa998084af0e8e805783fc39d971 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'share')
-rw-r--r--share/qbs/modules/nsis/NSISModule.qbs2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/modules/nsis/NSISModule.qbs b/share/qbs/modules/nsis/NSISModule.qbs
index e426aee56..a2b2e8f36 100644
--- a/share/qbs/modules/nsis/NSISModule.qbs
+++ b/share/qbs/modules/nsis/NSISModule.qbs
@@ -120,7 +120,7 @@ Module {
}
setupBuildEnvironment: {
- if (toolchainInstallPath) {
+ if (product.nsis.toolchainInstallPath) {
var v = new ModUtils.EnvironmentVariable("PATH", ";", true);
v.prepend(product.nsis.toolchainInstallPath);
v.prepend(FileInfo.joinPaths(product.nsis.toolchainInstallPath, "bin"));