Qt:禁止qDebug的输出

在工程的.pro文件里加上以下编译批令即可:
DEFINES += QT_NO_DEBUG_OUTPUT
原文地址:https://www.cnblogs.com/luxiaolai/p/4607916.html