This warning category is spelled [duplicated-name] by qmllint.
Multiple properties in the same QML component scope have the same name.
Components with duplicate property names will not be created at runtime: they will be null instead.
import QtQuick
Item {
property int helloWorld
property int helloWorld
}To fix this warning, remove the duplicate property or rename it:
import QtQuick
Item {
property int helloWorld
}Multiple signals in the same QML component scope have the same name.
Components with duplicate signal names will not be created at runtime: they will be null instead.
import QtQuick
Rectangle {
signal helloWorld
signal helloWorld
}To fix this warning, remove the duplicate signal or rename it:
import QtQuick
Rectangle {
signal helloWorld
}
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.9/qmllint-warnings-and-errors-duplicated-name.html