Details
Description
If try to add to the Wix product the wix.extensions property, and try to open a project from QtCreator, then occurs an parsing error:
E:\git\ng\qbs\tests\manual\WiXInstallers\WiXInstallers.qbs:9: error: WixUIExtension,ReferenceError: Can't find variable: type
import qbs Project { WindowsInstallerPackage { name: "QbsSetup" targetName: "qbs-" + qbs.architecture files: ["QbsSetup.wxs", "ExampleScript.bat"] wix.defines: ["scriptName=ExampleScript.bat"] wix.extensions: ["WixUIExtension"] // << try to add this string } }
It is strange, because previous version of QtCreator (3.4.0) is works..
If try to modify the WiXModule.qbs from:
property stringList extensions: type.contains("wixsetup") ? ["WixBalExtension"] : [] // default to WiX Standard Bootstrapper extension
to:
property stringList extensions: product.type.contains("wixsetup") ? ["WixBalExtension"] : [] // default to WiX Standard Bootstrapper extension
then says that:
E:\git\ng\qbs\tests\manual\WiXInstallers\WiXInstallers.qbs:9: error: WixUIExtension,ReferenceError: Can't find variable: product
BUT!! If try to change stringList to string property, then all fine..
Seems, that this bug related to stringList property (or something similar).