Qt Creator 在Windows下编译信息乱码

1、依次点击:(菜单)编辑,Preferences...,构建套件

2、选择乱码的构建套件、然后选择“Edit Build Environment...”,比如我的是这样的:

3、输入VSLANG=2052,点击OK:

4、关于VSLNAG:

链接:

vcpkg-tool/docs/localization.md at main · microsoft/vcpkg-tool · GitHub

关键内容:

vcpkg chooses a language through the VSLANG environment variable, which should be set to a valid LCID (locale identifier, 4-byte value representing a language). If VSLANG is not set or is set to an invalid LCID, we default to English. That said, if you wish to change the language, then set VSLANG to any of the following LCIDs:

1029: Czech
1031: German
1033: English
3082: Spanish (Spain)
1036: French
1040: Italian
1041: Japanese
1042: Korean
1045: Polish
1046: Portuguese (Brazil)
1049: Russian
1055: Turkish
2052: Chinese (Simplified)
1028: Chinese (Traditional)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值