En esta página

Los cambios en Qt Test

Qt 6 son el resultado del esfuerzo consciente por hacer el framework más eficiente y fácil de usar.

Tratamos de mantener la compatibilidad binaria y de código fuente para todas las APIs públicas en cada versión. Pero algunos cambios eran inevitables en un esfuerzo por hacer de Qt un framework mejor.

En este tema resumimos esos cambios en Qt Test, y proporcionamos una guía para manejarlos.

La clase QTouchEventSequence

QTest::QTouchEventSequence que toman un parámetro QWidget ha sido trasladada a una nueva clase: QTest::QTouchEventWidgetSequence. La lista de funciones afectadas es la siguiente

En ese mismo sentido, la sobrecarga de QTest::touchEvent() que toma un parámetro QWidget ha sido cambiada para devolver un objeto 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.