Directivas de qmllint no válidas
qmllint denomina esta categoría de advertencias « [invalid-lint-directive] ».
Se ha proporcionado una directiva de qmllint no válida
¿Qué ha pasado?
Has utilizado una directiva de qmllint no válida en un comentario de qmllint. Probablemente se deba a un error tipográfico.
¿Por qué es un problema?
La directiva de qmllint no tiene ningún efecto.
Ejemplo
import QtQuick
Item {
// qmllint diasble with
}Para solucionar esta advertencia, corrige el error tipográfico:
import QtQuick
Item {
// qmllint disable with
}Directiva qmllint en una categoría desconocida
¿Qué ha pasado?
Has utilizado una categoría desconocida en una directiva «qmllint » dentro de un comentario «qmllint». Probablemente se deba a un error tipográfico.
¿Por qué es un error?
La directiva qmllint no tiene ningún efecto.
Ejemplo
import QtQuick
Item {
// qmllint disable woth
}Para solucionar esta advertencia, corrige el error tipográfico:
import QtQuick
Item {
// qmllint disable with
}© 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.