Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5.2
-
None
-
Windows 11
MSVC 2019 64bit
Qt 6.5.1 and Qt 6.5.2
-
-
afe96c4d6 (dev), 278ef0601 (6.6), 79175ef10 (6.5)
Description
The attached sample project adds 5 entries to a ListModel on Component.onCompleted:
listModel.append({ test: Qt.rect(i * 110, 100, 100, 100) })
A Repeater will display green Rectangles, based on the ListModel.
Running the project with Qt 6.5.1 works fine and 5 green rectangles are displayed.
Running the project with Qt 6.5.2 will result in:
qrc:/main.qml:22:72: TypeError: Cannot read property 'height' of undefined qrc:/main.qml:22:47: TypeError: Cannot read property 'width' of undefined qrc:/main.qml:22:30: TypeError: Cannot read property 'y' of undefined qrc:/main.qml:22:13: TypeError: Cannot read property 'x' of undefined
Attachments
Issue Links
- duplicates
-
QTBUG-115523 [REG: 6.5.1->6.5.2] More complex javascript objects not converted to QVariantMap anymore
- Closed