QTextCodec: compile with QT_NO_CAST_FROM_BYTEARRAY


Make the remaining implicit QByteArray → const char* conversions
explicit.

Likely amends the start of the public history in qtbase.

Pick-to: 6.11 6.10 6.8
Task-number: QTBUG-132327
Change-Id: I7f29c8155399034a683312cdf7bd55b09c9e8930
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
commitfe532e28c6c201c49f5ae76ed9b206ef88c14a0c
parent894079b4932dc878b505056cab9887cca67a011a
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeWed, 25 Mar 2026 11:24:11 +0100