diff --git a/src/main/main.cpp b/src/main/main.cpp index 9fe046da9..cba21b6d6 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -20,7 +20,7 @@ #include #include #include -#include +#include DWIDGET_USE_NAMESPACE @@ -29,7 +29,7 @@ DCORE_USE_NAMESPACE int main(int argc, char *argv[]) { // 应用计时 - QTime useTime; + QElapsedTimer useTime; useTime.start(); //为了更精准,起动就度量时间 qint64 startTime = QDateTime::currentDateTime().toMSecsSinceEpoch();