摘要: #include <QtDebug>#include <QFile>#include <QTextStream>#define _TIME_ qPrintable (QTime::currentTime ().toString ("hh:mm:ss:zzz"))void Log(QtMsgType type, const char* msg){ QString qstrText; switch (type) { case QtDebugMsg: qstrText = QString("%1: %2").arg(_TIM 阅读全文
posted @ 2012-10-09 14:38 venow 阅读(4271) 评论(1) 推荐(0)