Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-1445

Build is not failed if the QML has syntax errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • QSR 2.0 Beta 5
    • QSR 2.0
    • Tooling
    • None
    • Sprint 15 Week 1

    Description

      The tooling tries to generate the layout for the invalid QML file.
      Following QMl file generates the empty layout file.

      SafeImage {
          id: animal
          objectName: "animal"
          width: 128
          height: 128
          fillColor: "red"
          source: "icons/duck.png"
      
          states: [
              State {
                  name: "red"
                  PropertyChanges {
                      target: animal
                      fillColor: "red"
                      width: 64
                      height: 64
                  }
              },
              State {
                  name: "blue"
                  PropertyChanges {
                      target: animal
                      fillColor: "blue"
                  }
              },
          ]
      }
      

      TestRail: Results

        Attachments

          Activity

            People

              teemu.holappa Teemu Holappa
              teemu.holappa Teemu Holappa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases