diff options
author | Jake Petroules <jake.petroules@petroules.com> | 2015-08-11 06:38:13 -0700 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2015-08-11 14:53:25 +0000 |
commit | 033fecf1b6ec886aa544c721ffff049e4aef3fb5 (patch) | |
tree | dc92992c0f3db0df7110956de41ca1acc5a98ce8 /share/qbs/modules/bundle/BundleModule.qbs | |
parent | 90359b5a580f06c92c45990159a3574c34d329f1 (diff) |
Fix xcode module presence check in Info.plist processing.
Change-Id: I23d335a760dae28f47c3f5c41b473244dc890551
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'share/qbs/modules/bundle/BundleModule.qbs')
-rw-r--r-- | share/qbs/modules/bundle/BundleModule.qbs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/qbs/modules/bundle/BundleModule.qbs b/share/qbs/modules/bundle/BundleModule.qbs index 1079c48ed..0e3d9bb13 100644 --- a/share/qbs/modules/bundle/BundleModule.qbs +++ b/share/qbs/modules/bundle/BundleModule.qbs @@ -217,7 +217,7 @@ Module { cmd.compilerDefines = product.moduleProperty("cpp", "compilerDefines"); cmd.allDefines = [].concat(cmd.defines || []).concat(cmd.platformDefines || []).concat(cmd.compilerDefines || []); - cmd.toolchain = product.moduleProperty("qbs", "toolchain"); + cmd.developerPath = product.moduleProperty("xcode", "developerPath"); cmd.platformInfoPlist = product.moduleProperty("xcode", "platformInfoPlist"); cmd.sdkSettingsPlist = product.moduleProperty("xcode", "sdkSettingsPlist"); cmd.toolchainInfoPlist = product.moduleProperty("xcode", "toolchainInfoPlist"); @@ -258,7 +258,7 @@ Module { var platformInfo = {}; var sdkSettings = {}; var toolchainInfo = {}; - if (toolchain.contains("xcode")) { + if (developerPath) { plist = new PropertyList(); try { plist.readFromFile(platformInfoPlist); |