gpt4 book ai didi

qt - Qt Creator 中的开发控制台编码错误

转载 作者:行者123 更新时间:2023-12-04 12:26:36 25 4
gpt4 key购买 nike

当我的项目出现任何错误时,它看起来像这样:

enter image description here

如何解决?我的意思是编码,而不是错误。

最佳答案

如果您将 Visual Studio 编译器与 Qt Creator 一起使用,来自编译器的消息将采用 DOS (866) 编码。需要设置正确的编码 Windows CP1251。我从这里使用特殊版本的 jom.exe。

版本 x86:jom.exe x86

版本 x64:jom.exe x64

在 qt/bin 中复制实用程序。然后工具->选项并找到选项“使用 jom 而不是 nmake”。 Source .

关于qt - Qt Creator 中的开发控制台编码错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20770956/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com