Details
-
Bug
-
Resolution: Done
-
P4: Low
-
5.14.0
-
None
-
Windows 10, zh_CN
msvc 2015
qt-5.14
-
-
f936ca4f86e359cb919be9d21ad239618a878559 (qt/qtbase/5.14)
Description
I built qt-5.14 (from git) under Windows 10 with msvc 2015. When I build qt based app with qt-5.14, the compiler will print tons of warning as the following:
d:\qt5\qtbase\include\qtcore\../../src/corelib/global/qglobal.h(777): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
I think this is because qglobal.h of qt-5.14 contains utf-8 character not representable with ascII and msvc by default treat source code character encoding as cp936 in chinese desktop environment.