Qt 程序中显示毫秒

 QTime aaa=QTime::currentTime();

qDebug(QString::number(aaa.msec()).toAscii());

原文地址:https://www.cnblogs.com/luxiaolai/p/5048174.html