Enable utf8 literals for MSVC.

This commit is contained in:
Roman Telezhynskyi 2023-03-08 18:44:07 +02:00
parent 7a8d18569a
commit 973f4d6b0d

View File

@ -817,9 +817,11 @@ Module {
cpp.cxxFlags: {
var flags = debugFlags;
if (qbs.toolchain.contains("gcc") && enableAddressSanitizer) {
if (qbs.toolchain.contains("gcc") && enableAddressSanitizer)
flags.push("-fno-omit-frame-pointer");
}
if (qbs.toolchain.contains("msvc"))
flags.push("/utf-8");
return flags;
}