Details
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
For Gerrit Dashboard: QBS-541 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
82923,3 | Fix linking of MSIs built from multiple WiX source files. | 1.2 | qbs/qbs | Status: MERGED | +2 | 0 |