-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.10.0
-
None
It seems that the QML engine complains at runtime about a satisfied required property:
qrc:/qt/qml/untitled42/Main.qml: Setting initial properties failed: Main does not have a property called myP
QList(qrc:/qt/qml/untitled42/Main.qml:4:26: Required property myP was not initialized
It can be set via the alias property outerMyP from qrc:/qt/qml/untitled42/Main.qml
component IC: Item { required property int myP; }
^
despite constructing Main.qml with:
component.createWithInitialProperties({{"outerMyP", QVariant(42));}}
(see attached reproducer)
- resulted from
-
QTBUG-141086 qmlls: Warnings about missing required property (that is set)
-
- In Progress
-