Duplicated name¶
[duplicated-name] Multiple members share the same name in the same component.
This warning category is spelled [duplicated-name] by qmllint.
Duplicated property, signal, or method name¶
What happened?¶
You gave a property, signal or method a name which is already in use in the current QML component.
Why is this bad?¶
The QML runtime doesn’t create components with duplicate member names at runtime: they will be null instead.
Example¶
To fix this warning, remove or rename the duplicate members: