无效的 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 }
© 2025 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.