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

jump to error doesn't work on qbs build errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.8.1
    • Component/s: General
    • Labels:
      None
    • Commits:
      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

        For Gerrit Dashboard: QBS-1151
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            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