Cleanup: use QString literals instead of constructing temp objects


constructing `QString` from a character literal will allocate. Something
we typically want to avoid

Pick-to: 6.12
Change-Id: I747e92be1bde3aa54f436f9b100fbf626427a6f7
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
commit91ecb14053a96fe69af1065458100310b8ef8506
parent3a30467d0671fd56ab41300c240977f5cbc52960
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeMon, 10 Aug 2026 16:59:49 +0000