Qt 6 是努力使框架更高效,且更易于使用的结果。
为兼容每个发行的所有公共 API,我们试着维护二进制和源代码。但是,为使 Qt 成为更优框架,一些改变是不可避免的。
In this topic we summarize those changes in Qt Test, and provide guidance to handle them.
QTest::QTouchEventSequence functions taking a QWidget parameter has been moved to a new class: QTest::QTouchEventWidgetSequence. The list of affected functions is as follows:
On that same note, the overload of QTest::touchEvent () taking a QWidget parameter has been changed to return a QTouchEventWidgetSequence object.