Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-832

[Wix] Unable to open a project when are used wix.extensions property

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 1.4.2
    • 1.3.4, 1.4.0
    • General
    • None
    • * Wndows 8x32
      * QtCreator 3.4.2 (with integrated QBS)
    • 4b20594bd141fbfb46891ee100696a39ffe5d4c6

    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).

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            kuzulis Denis Shienkov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes