Skip to content

remove specializations of QTest::toString

Yifan Zhu requested to merge work/fanzhuyifan/remove-tostring into master

Since Qt 5.5, using toString methods of types has been preferred over specializing QTest::toString. (https://doc.qt.io/qt-6/qtest.html#toString) Since all types natively implement toString, there is no need to specialize QTest::toString.

This also makes compilation work against Qt6.8-beta1.

Otherwise compilation against Qt6.8 fails.

Merge request reports