Component is missing a required property¶
[required] A component’s required property was not bound.
This warning category is spelled [required] by qmllint.
Component is missing a required property¶
What happened?¶
The required property of a component was not set.
Why is this bad?¶
QML applications where components miss required properties will misbehave: they will not start at all if a missing required property is detected statically. Dynamically created components with missing required properties will not be created at runtime: they will be null instead.
Example¶
To fix this warning, set the required properties:
See also
QML Coding Conventions - Required Properties