Invalid qmllint directives

This warning category is spelled c{[invalid-lint-directive]} by qmllint.

Invalid qmllint directive provided

What happened?

You used an invalid qmllint directive in a qmllint comment. This is probably due to a typo.

Why is this bad?

The qmllint directive has no effect.

Example

import QtQuick

Item {
    // qmllint diasble with
}

To fix this warning, correct the typo:

import QtQuick

Item {
    // qmllint disable with
}

Qmllint directive on unknown category

What happened?

You used an unknown category in a qmllint directive inside a qmllint comment. This is probably due to a typo.

Why is this bad?

The qmllint directive has no effect.

Example

import QtQuick

Item {
    // qmllint disable woth
}

To fix this warning, correct the typo:

import QtQuick

Item {
    // qmllint disable with
}

© 2024 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.