WMF: use the correct string literals where available


Make sure to avoid runtime utf16 conversions by using string literals.

Pick-to: 6.12
Change-Id: Ieb816c73392e3f0f5d8993478377ef2cd3d411fc
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
Reviewed-by: Vladimir Belyavsky <belyavskyv@gmail.com>
commit30ec655a9fb4289f11ac39f5fc7b0365a3e34e68
parentf7868c3e2ef5ddef94c2569db3a173dbe6448618
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeWed, 26 Aug 2026 07:36:13 +0000