一、直接用QFileDialog 在window 一般卡顿7秒 qDebug() << "begin:" << QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss.zzz"); QDateTime sTime = QDateTime::currentDateTime(); QString str = QFileDialog::getOpenFileName(nullptr, ""<