本页内容

Qt Quick Test C++ API

提供用于测试的宏和函数。更多内容...

命名空间

QQuickTest

包含所有与Qt Quick Test

详细说明

可通过以下 include 语句将 C++ 宏和函数引入您的应用程序:

#include <QtQuickTest>

另请参阅 “在 QML 测试之前执行 C++”。

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