Id duplicado
Esta categoría de advertencia se escribe [syntax.duplicate-ids] por qmllint.
Se ha encontrado un id duplicado
¿Qué ha ocurrido?
Has utilizado el mismo valor para diferentes ids.
¿Por qué es malo?
El lenguaje QML prohíbe los ids duplicados: todos deben ser únicos en el mismo componente QML.
Ejemplo
Para corregir esta advertencia, cambie el nombre del 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.