Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.15.0
-
None
-
9ab1a6759018b78b0f160c5286f8b0235a34ec50 (qt/qtdeclarative/dev) 2ad89747c4ba6a46deccb27461e80dd3fbcfb39e (qt-creator/qt-creator/4.13)
Description
Required properties should allow list<type> syntax for passing objects containing QQmlListProperty<type>.
Current Behavior:
required property list<MyClass> someClass
Produces this error "Unexpected token `<'" at runtime and in QtCreator.
Workaround:
Don't make it required.
property list<MyClass> someClass