Set source character sets to UTF-8

This suppress warning C4819.
https://docs.microsoft.com/en-us/cpp/build/reference/utf-8-set-source-and-executable-character-sets-to-utf-8?view=msvc-160
This commit is contained in:
Chocobo1
2021-01-06 11:53:28 +08:00
parent b79a1b5755
commit 24fa9e32b0
3 changed files with 8 additions and 9 deletions

View File

@@ -40,7 +40,7 @@ win32-g++* {
}
else:win32-msvc* {
CONFIG -= embed_manifest_exe
QMAKE_CXXFLAGS += /std:c++17
QMAKE_CXXFLAGS += /std:c++17 /utf-8
QMAKE_LFLAGS += "/MANIFEST:EMBED /MANIFESTINPUT:$$quote($${PWD}/src/qbittorrent.exe.manifest) /STACK:0x800000"
RC_FILE = qbittorrent.rc