本页内容

变更说明Qt Quick Test

Qt 6 的变更,是出于让该框架更高效、更易于使用的有意识努力。

我们致力于在每个版本中保持所有公开 API 的二进制和源代码兼容性。但在努力使 Qt 成为更优秀的框架的过程中,某些变更在所难免。

在本主题中,我们将总结Qt Quick Test 中的这些变更,并提供相应的处理指南。

鼠标事件模拟

TestCase::mouseMove 如果未显式指定坐标,则将光标移动到项目的中心位置。

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