ID duplicado
qmllint escribe esta categoría de advertencia como « [syntax.duplicate-ids] ».
Se ha encontrado un ID duplicado
¿Qué ha pasado?
Has utilizado el mismo valor para diferentes identificadores.
¿Por qué es un error?
El lenguaje QML prohíbe los identificadores duplicados: todos deben ser únicos dentro de un mismo componente QML.
Ejemplo
Para solucionar esta advertencia, cambia el nombre del identificador duplicado para que sea único:
© 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.