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

qmlcachegen crashes when code uses list<...> qml type

    XMLWordPrintable

    Details

    • Commits:
      8ea9646019 (qt/qtdeclarative/dev) 8ea9646019 (qt/qtdeclarative/6.4) 8ea9646019 (qt/tqtc-qtdeclarative/6.4)

      Description

      import QtQuick
      import QtQuick.Controls
      
      Window {
          id: root
      
          width: 640
          height: 480
      
          property list<Button> customList
      
          Item {
              property var x: root.customList
              // property var x: customList // this version works as expected
          }
      }
      

      Simple qml code like the snippet above causes qmlcachegen crash. When property is not prefixed with "root" id, crash doesn't occur.

        Attachments

        1. ListModelTest.zip
          2 kB
        2. output2.txt
          2 kB

          Issue Links

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

            Activity

              People

              Assignee:
              ulherman Ulf Hermann
              Reporter:
              mcieslak Michał Cieślak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes