Ungültige qmllint-Direktiven
Diese Warnkategorie wird von qmllint als „ [invalid-lint-directive] “ bezeichnet.
Ungültige qmllint-Direktive angegeben
Was ist passiert?
Sie haben in einem qmllint-Kommentar eine ungültige qmllint-Anweisung verwendet. Dies ist wahrscheinlich auf einen Tippfehler zurückzuführen.
Warum ist das ein Problem?
Die qmllint-Anweisung hat keine Wirkung.
Beispiel
import QtQuick
Item {
// qmllint diasble with
}Um diese Warnung zu beheben, korrigieren Sie den Tippfehler:
import QtQuick
Item {
// qmllint disable with
}„qmllint“-Anweisung in unbekannter Kategorie
Was ist passiert?
Sie haben in einer qmllint-Anweisung innerhalb eines qmllint-Kommentars eine unbekannte Kategorie verwendet. Dies ist wahrscheinlich auf einen Tippfehler zurückzuführen.
Warum ist das schlecht?
Die qmllint-Anweisung hat keine Wirkung.
Beispiel
import QtQuick
Item {
// qmllint disable woth
}Um diese Warnung zu beheben, korrigieren Sie den Tippfehler:
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.