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

jump to error doesn't work on qbs build errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 1.8.1
    • 1.8.0
    • General
    • None
    • 7e0191856b3c76517a2654183b52192713ff5770

    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.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes