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

[WiX] Can't link the project with multiple wxs files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 1.2.0
    • 1.2.0
    • General
    • None
    • * QtCreator v3.1 beta
      * Windows 8x64
    • 7343f111666c0560737f4156982f17cac1e8814b

    Description

      The WiXModule.qbs can not complete linking correctly if the project has more than one *.wxs file.

      Error:

      evaluating prepare script: TypeError: Result of expression 'input' [undefined] is not an object.

      This error occurred on line 378 (in the lightLinker rule):

      ...
      var cmd = new Command(ModUtils.moduleProperty(product, "linkerPath"), args);
      cmd.description = "linking " + FileInfo.fileName(input.filePath); // <<== here
      cmd.highlight = "linker";
      cmd.workingDirectory = FileInfo.path(primaryOutput.filePath);
      return cmd;
      ...
      

      Seems, that the "input" property should be as "inputs" or something else, because they has a multiple files, but not a single file.

      Please, see attach that reproduced a problem

      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:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes