Fix build with recent Qt5 versions
The change "q{,Utf8}Printable: avoid creating a copy of a QString" In Qt looks related but *should* not make a difference. Anyway, this works.