変更点Qt Test
Qt 6 への変更は、フレームワークをより効率的で使いやすくするための意図的な取り組みの結果です。
各リリースにおいて、すべての公開 API についてバイナリおよびソースの互換性を維持するよう努めています。しかし、Qt をより優れたフレームワークにするための取り組みにおいて、一部の変更は避けられませんでした。
このトピックでは、Qt Test におけるそれらの変更点をまとめ、それらに対処するためのガイダンスを提供します。
タッチ関連の機能
xml-ph-0000@deepl.internalパラメータを受け取る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 オブジェクトを返すように変更されました。
© 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.