From 1a50ea9892d52f439a3e0077422d270612b5e31f Mon Sep 17 00:00:00 2001 From: spking11 <52597061+spking11@users.noreply.github.com> Date: Sun, 22 Nov 2020 00:29:36 +0800 Subject: [PATCH] Add utf-8 support for msvc to resolve building error in some windows systems. (#277) --- src/src.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/src.pro b/src/src.pro index 54659be..7144c6c 100644 --- a/src/src.pro +++ b/src/src.pro @@ -23,7 +23,8 @@ windows { } # MSVC *-msvc* { - } + QMAKE_CXXFLAGS += /utf-8 + } } RESOURCES += ads.qrc