qt打印输出到控制台

mac2022-06-30  120

创建工程的时候是QT Console Application

1.项目->run->Run in terminal

2.pro文件中添加  CONFIG +=console thread

CONFIG +=console(这种没有验证)

转载于:https://www.cnblogs.com/xpylovely/p/11546127.html

相关资源:Qt子进程获取控制台输出
最新回复(0)