Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
几天前,我的 Qt Creator 停止显示日志输出。我没有更改任何设置,这似乎是整个项目的问题,因为我的队友在查看 GIT 的最新版本后遇到了同样的问题。改回以前的版本并不能解决问题!有什么建议么?
我有同样的问题。我的答案很简单... 确保您选择的构建套件Debug不是Release:)
Debug
Release
检查 stderr/stdout 是否已被重定向到程序中的任何位置。因为我没有控制台,所以我有故意使用freopen我的错误处理程序重定向到文本文件的代码。stderr
freopen
stderr
在调试模式下,我确保打印到 Qt Creator 控制台和文本文件。