Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-98115

qmllint crashes when id is assigned to string

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11
    • Commits:
      4dded9a0db32ac30a5dee506f7a55ec755dd5c39 (qt/qtdeclarative/dev) 8c30227cc9 (qt/qtdeclarative/6.2) 8c30227cc9 (qt/tqtc-qtdeclarative/6.2)

      Description

      When you have a QML file where the id is assigned to a string, qmllint will have a segfault.

      Example qml file:
      ```
      Button

      { id: "mybutton"; }

      ```

      Tested with Qt 6.2.0 and 6.2.1 on Ubuntu 20.04.03

        Attachments

        For Gerrit Dashboard: QTBUG-98115
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            fabiankosmale Fabian Kosmale
            Reporter:
            wbrebels Walter Brebels
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes