Use QByteArray for messages, not QString
The avoids several conversions, esp. the toLatin1() in QBENCHMARK.
As a drive-by, make the data() call explicit so the code compiles with
QT_NO_CAST_FROM_BYTEARRAY.
Amends f68a3dc48d8fb8c04fe49dd9e5d07d7cdd221ad1 for TIFF and
c64ae4f1615f0fe9322ffcb09e50e360068fd11a for MNG supports (both Qt 5.0).
Pick-to: 6.11 6.8
Task-number: QTBUG-145287
Change-Id: I0f3e03cc6eecb07cdde1f37f26e26ffcb35bdac6
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
| commit | ed20a4d5760dab5a59a9b7d7f26510726a6ac8d5 |
| parent | 562dde0ea244b9f47df4148131936d69108d1d59 |
| author | Marc Mutz <marc.mutz@qt.io> |
| committer | Marc Mutz <marc.mutz@qt.io> |
| commit time | Tue, 14 Apr 2026 18:00:45 +0000 |