tst_QTextToSpeech: compile with QT_NO_CAST_FROM_BYTEARRAY
Replace the QVERIFY2 with QCOMPARE_LT/GT. Then the need to use
QByteArray::number() with QVERIFY2() goes away, because QCOMPARE
already prints either side of the relational operator.
Amends d0494c3b3842ef77be355e764c1ba17f369d3278 (5.11; therefore
preceding the addition of the QCOMPARE_op macro to QtTestLib).
Pick-to: 6.11 6.10 6.8
Change-Id: I2373f962dd1c972bf7a2267b703ef177b4df4d85
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
| commit | 316cdcb223d74b2ac9583f1b7db93b5761122eab |
| parent | ab474c2bdbb830c818704de73b512191b8b3458e |
| author | Marc Mutz <marc.mutz@qt.io> |
| committer | Marc Mutz <marc.mutz@qt.io> |
| commit time | Fri, 27 Mar 2026 14:45:57 +0100 |