QQmlSA::LintPlugin Class
class QQmlSA::LintPlugin所有静态分析插件的基类。更多
头文件: | #include <LintPlugin> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS QmlCompiler) target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler) |
状态: 技术预览 | 技术预览 |
公共函数
LintPlugin() | |
virtual | ~LintPlugin() |
virtual void | registerPasses(QQmlSA::PassManager *manager, const QQmlSA::Element &rootElement) = 0 |
成员函数文档
[constexpr noexcept]
LintPlugin::LintPlugin()
构造一个 LintPlugin 对象。
[virtual constexpr noexcept]
LintPlugin::~LintPlugin()
销毁LintPlugin 实例。
[pure virtual]
void LintPlugin::registerPasses(QQmlSA::PassManager *manager, const QQmlSA::Element &rootElement)
添加将在rootElement 上执行的传递manager 。
© 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.