Fix the build with MSVC

MSVC does not behave nicely with multi-line QStringLiterals so
use QLatin1Strings and string builder.