Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
6.5.5-1, 6.7.0 RC2
-
None
Description
Code
import QtQuick Window { id: root width: 640 height: 480 visible: true ListView { anchors.fill: parent model: ListModel { ListElement { objectName: "Apple" } ListElement { objectName: "Banana" } } delegate: Text { required objectName text: objectName } } }
Outcomes
ASSERT: "!target.isBindable()" in file C:/Users/qt/work/qt/qtdeclarative/src/qml/qml/qqmlanybinding_p.h, line 237
Notes
- The expected text is still displayed in the delegate if the assertion is ignored
- required objectName triggers the assertion; required property string objectName works fine