From:
Http://hi.baidu.com/dbzhang800/item/14d738cf9a24513d45941642
I personally tested it in 20130511. Thanks to the original author.
20110815 update: Some netizens mentioned simply adding an environment variable lang = en. See qtcn.org
Since the built-in mingw4.4 of qtcreator is installed and the C ++ program is compiled, garbled characters are displayed:
E: \ cpp_t> C ++-wall B. cpp
B. cpp: In function compute using NT main () using?
B. cpp: 22
B. cpp: 23
After several days, I finally thought of the locale problem.
% Mingw % \ share \ locale \ zh_cn \ lc_messages
It seems that the Simplified Chinese version of mingw is not ready yet. Delete it directly in English.
E: \ cpp_t> C ++-wall B. cpp
B. cpp: In function 'int main ()':
B. cpp: 22: Warning: deprecated conversion from String constant to 'Char *'
B. cpp: 23: Warning: deprecated conversion from String constant to 'Char *'