Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.3
-
51696d5e8dbd17fe2bfdfc669bbf22e0e50af6c6 (qt/qtdeclarative/5.12)
Description
import QtQuick 2.5 QtObject { readonly property list<QtObject> listfoo: [QtObject {}] }
Results in:
a.qml:4 Unexpected token `<' a.qml:4 Expected token `:'
Removing the readonly keyword makes it work.