Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.5.0, 5.5.1, 5.7, 5.9.0 Beta 4, 5.9.4, 5.11.0 Beta 2
-
None
-
Windows 7 SP1 64 bits
Compiled under MSVC 2013
Description
When trying to execute the code contained in the attachment main.qml on Qt 5.5.0 or 5.5.1 : app automatically crashes.
On Qt 5.4.2 everything works at expected.
NOTE : With a GridView instead of a [Flow|Row|Column]/Repeater everything works perfectly.
main.qml :
main.qml
import QtQuick 2.4 import QtQuick.Window 2.0 import QtQml.Models 2.1 Window { visible: true width: 640 height: 480 ListModel { id: myModel ListElement { display: "One" ; category: "1" } ListElement { display: "Two" ; category: "1" } ListElement { display: "Three" ; category: "1" } } DelegateModel { id: visualModel delegate: Package { Text { id: listDelegate; Package.name: 'list' } Text { id: flowDelegate; Package.name: 'flow' } } model: myModel } ListView { id: lv width: parent.width model: visualModel.parts.list } Flow { width: parent.width height: 50 Repeater { model: visualModel.parts.flow } } }
Attachments
Issue Links
- is duplicated by
-
QTBUG-71941 reopen QTBUG-50349
- Closed
-
QTBUG-56462 Multiple Repeaters attached to DelegateModel parts crashes
- Closed
- relates to
-
QTBUG-71964 Multiple Repeaters attached to DelegateModel parts (still) crashes
- Closed
For Gerrit Dashboard: QTBUG-50349 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
223860,2 | Fix crash when using a package with a repeater | 5.11 | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |
226539,3 | Fix crash when using repeaters with packages | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |