Details
Description
How to reproduce
- Create a project with a dynamic rule.
- Make sure that Rule.outputArtifacts does not return an array to provoke a build error.
Rule { inputs: ["qt.qml.qml"] outputArtifacts: { filePath: input.filePath + 'c' fileTags: "qt.qml.qmlc" } outputFileTags: ["qt.qml.qmlc"] prepare: { var cmd = new Command("ls"); cmd.description = "precompiling " + input.fileName; cmd.highlight = "compiler"; return cmd; } } }
What's happening?
We get a build error: :-1: error: /home/someone/somewhere/untitled-qtquick-app/modules/Qt_qmlcache/qmlcache.qbs:14:26 Rule.outputArtifacts must return an array of objects.
Double-clicking the error in the issues pane has no effect.
What's expected?
Double-clicking the error in the issues pane should jump to the error's location.