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.
无论我做什么,qtcreator 总是回馈:
/home/tim/build-foo-Desktop-Debug/foo exited with code 0
对于以下代码:
#include <iostream> using namespace std; int main() { return 1; }
我只是在错误的地方寻找退出代码,还是 qt creator 不支持这个?
Qt Creator 是否在终端中运行您的代码?如果是,请转到项目,运行,然后取消选中“在终端中运行”。这对我行得通。