変更点Qt Test
Qt 6 は、フレームワークをより効率的で使いやすくするための意識的な努力の結果です。
私たちは各リリースにおいて、すべてのパブリックAPIのバイナリとソースの互換性を維持しようと努めています。しかし、Qt をより良いフレームワークにするために避けられない変更もあります。
このトピックでは、Qt Test におけるそれらの変更点を要約し、それらを扱うためのガイダンスを提供します。
タッチ関連の機能
QTouchEventSequence クラス
QTest::QTouchEventSequence QWidget 関数は新しいクラスに移動しました:QTest::QTouchEventWidgetSequence.影響を受ける関数のリストは以下の通りです:
- QTest::QTouchEventSequence::press(int touchId, constQPoint &pt,QWidget *widget)
- QTest::QTouchEventSequence::move(int touchId, constQPoint &pt,QWidget *widget)
- QTest::QTouchEventSequence::release(int touchId, constQPoint &pt,QWidget *widget)
これと同様に、QWidget パラメータを取るQTest::touchEvent() のオーバーロードは、QTouchEventWidgetSequence オブジェクトを返すように変更されました。
© 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.