Nombre duplicado
Esta categoría de advertencia se escribe [duplicated-name] por qmllint.
Propiedad, señal o nombre de método duplicados
¿Qué ha ocurrido?
Has dado a una propiedad, señal o método un nombre que ya está en uso en el componente QML actual.
¿Por qué es malo?
El tiempo de ejecución de QML no crea componentes con nombres de miembro duplicados en tiempo de ejecución: en su lugar serán nulos.
Ejemplo:
import QtQuick Item { property int helloWorld property int helloWorld // duplicate property signal helloWorld() // duplicate signal }
Para corregir esta advertencia, elimine o cambie el nombre de los miembros duplicados:
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.