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)

相关推荐
YCOSA20257 小时前
雨晨 Windows 11 IoT 企业版 LTSC 26H2 轻装 26300.9278 自用版
windows·物联网
机器视觉知识推荐、就业指导7 小时前
为什么老说“纯 Qt 没啥就业市场”?
开发语言·qt
telepan7 小时前
Qt 开发避坑与性能指南:如何优雅、安全地定义全局常量字符串?
开发语言·qt
小灰灰搞电子7 小时前
完全驾驭 Qt 与数据库:C++ ORM 框架 QxOrm 原理与实践指南
数据库·c++·qt
QT界面美化性能优化7 小时前
QT+AI:使用AI技术为QT应用程序赋能
c++·人工智能·qt·opencv·qt教程·qt6.3
m0_695251497 小时前
Qt MaintenanceTool 使用国内镜像加速下载(超详细教程)
开发语言·qt
丈剑走天涯9 小时前
基于 Python 3 语法的 PyCharm 练习示例,涵盖列表操作、类型判断及数据清洗等核心知识点
windows·python·pycharm
AxureMost9 小时前
Dopamine 3.0.10 音乐播放器
windows
MayZork9 小时前
Windows 与 Linux 下 vcpkg 的安装部署指南
linux·运维·windows
Source.Liu10 小时前
【Dioxus】Windows 环境下 Rust + Dioxus 安装配置笔记
windows·rust·dioxus