码迷,mamicode.com
首页 > 其他好文 > 详细

qt在GUI显示时,将调试信息输出到控制台的设置

时间:2018-09-04 14:49:05      阅读:170      评论:0      收藏:0      [点我收藏+]

标签:控制台   alt   技术分享   http   bubuko   term   需要   nal   config   

1. 在.pro文件中添加一下设置:

CONFIG += console

2. 项目的【构建和运行】中,需要勾选【Run in terminal】:

技术分享图片

 

qt在GUI显示时,将调试信息输出到控制台的设置

标签:控制台   alt   技术分享   http   bubuko   term   需要   nal   config   

原文地址:https://www.cnblogs.com/liushui-sky/p/9584130.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!