無効な qmllint ディレクティブ
この警告カテゴリは、qmllint では「[invalid-lint-directive] 」と表記されます。
無効な qmllint ディレクティブが指定されました
何が起きたのですか?
qmllint コメント内で無効なqmllint ディレクティブを使用しました。おそらくタイプミスが原因です。
なぜ問題なのでしょうか?
qmllint ディレクティブが機能しません。
例
import QtQuick
Item {
// qmllint diasble with
}この警告を解消するには、誤字を修正してください:
import QtQuick
Item {
// qmllint disable with
}不明なカテゴリの qmllint ディレクティブ
何が起きたのですか?
qmllint コメント内のqmllint ディレクティブで、未知のカテゴリを使用しました。これはおそらく入力ミスによるものです。
なぜ問題なのか?
qmllintディレクティブが機能しません。
例
import QtQuick
Item {
// qmllint disable woth
}この警告を解消するには、タイプミスを修正してください:
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.