QStringLiteral and some const fixes