En esta página

Directivas qmllint inválidas

Esta categoría de advertencia se escribe [invalid-lint-directive] por qmllint.

Se ha proporcionado una directiva qmllint no válida

¿Qué ha ocurrido?

Ha utilizado una directiva qmllint no válida en un comentario qmllint. Probablemente se deba a un error tipográfico.

¿Por qué es malo?

La directiva qmllint no tiene ningún efecto.

Ejemplo

import QtQuick

Item {
    // qmllint diasble with
}

Para corregir esta advertencia, corrija la errata:

import QtQuick

Item {
    // qmllint disable with
}

Directiva qmllint en categoría desconocida

¿Qué ha ocurrido?

Ha utilizado una categoría desconocida en una directiva q mllint dentro de un comentario qmllint. Probablemente se deba a un error tipográfico.

¿Por qué es malo?

La directiva qmllint no tiene ningún efecto.

Ejemplo

import QtQuick

Item {
    // qmllint disable woth
}

Para corregir esta advertencia, corrija la errata:

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.