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

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

XMLWordPrintable

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

      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.

        1. ListModelTest.zip
          2 kB
        2. output2.txt
          2 kB
        For Gerrit Dashboard: QTBUG-103920
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes