Id cita
Esta categoría de advertencia se escribe [syntax.id-quotation] por qmllint.
Los id no necesitan comillas
¿Qué ha ocurrido?
Has rodeado un id con comillas.
¿Por qué es malo?
Esto puede llevar a confusión entre ids y cadenas. El lenguaje QML no requiere comillas para los ids y prohíbe expresiones de cadena más complejas para los ids.
Ejemplo
import QtQuick Item { id: "root" }
Para corregir esta advertencia, elimine las comillas:
import QtQuick Item { id: root }
© 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.