Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.12.0 Beta 4
-
-
28a31148ca02dbb530fd92dfafbcf71c64af4b70 (qt/qtdeclarative/dev) 796f6e1e8e99ea1046ffe2a744cfd1dca1248258 (qt/qtdeclarative/5.15.0)
Description
The following crashes on mouse click:
import QtQuick 2.0 import QtQml.Models 2.2 import QtQuick.Window 2.0 Window { width: 300 height: 300 visible: true DelegateModel { id: mdl model: 1 delegate: Package { Item { id: first Package.name: "first" } Item{ id: second Package.name: "second" } } } Repeater { model: mdl.parts.first } Repeater { model: mdl.parts.second } MouseArea { anchors.fill: parent onClicked: mdl.model = 2 } }
see QTBUG-50349 (QTBUG-71941).
laknoll please have a closer look on this.
Attachments
Issue Links
- relates to
-
QTBUG-50349 [REG 5.4.2 => 5.5.0/1] QML Package component crash at startup if used with Repeater
- Closed