QT中的cout

#include <QDebug>

#define cout qDebug() <<"[" <<FILE <<":" <<LINE <<"]"

原文地址:https://www.cnblogs.com/qq376142178/p/15398832.html