更改Qt Application为 Qt Console Application

工程属性 -> 链接器 -> 系统 -> 子系统 : 更改为 控制台 (/SUBSYSTEM:CONSOLE)

原文地址:https://www.cnblogs.com/zhsuiy/p/5228276.html