Priority: P1: Critical
Affects Version/s: 6.2.3, 6.3.0 Beta2
Component/s: QML: Compiler
Commits:1e722f5e8e (qt/qtdeclarative/dev) 1e722f5e8e (qt/tqtc-qtdeclarative/dev) b386b6491d (qt/qtdeclarative/6.3) d864d15a66 (qt/qtdeclarative/6.2) d864d15a66 (qt/tqtc-qtdeclarative/6.2) b386b6491d (qt/tqtc-qtdeclarative/6.3)
There is a lookup for a property of QQmlDelegateModelAttached in there. QQmlDelegateModelAttached has a dynamic meta object, but also some regular properties. We don't see the dynamic meta object at compile time, but at run time we cannot create a QQmlPropertyCache for the type. This leads to a type error being thrown from the lookup.
itemsIndex is one of the regular properties. Therefore the compiler assumes it can use a lookup for it.
|For Gerrit Dashboard: QTBUG-101349|
|398433,7||QML: Handle dynamic meta objects in AOT lookups||dev||qt/qtdeclarative||Status: MERGED||+2||0|
|398901,3||QML: Handle dynamic meta objects in AOT lookups||6.3||qt/qtdeclarative||Status: MERGED||+2||0|
|398902,3||QML: Handle dynamic meta objects in AOT lookups||6.2||qt/qtdeclarative||Status: MERGED||+2||0|