- 现在还没有QWebEngineView
QSet::fromList(xxx)
没了
要改成
QSet(xxx.begin(), xxx.end())
QString().vsprintf
没了
https://doc.qt.io/qt-5/qstring-obsolete.html#vsprintf
改成
QString::vasprintf
https://doc.qt.io/qt-5/qstring.html#vasprintf
QTime::start()
和QTime::elapsed()
没了
改用QElapsedTimer
The QElapsedTimer class is usually used to quickly calculate how much time has elapsed between two events. Its API is similar to that of QTime, so code that was using that can be ported quickly to the new class.
https://doc.qt.io/qt-5/qelapsedtimer.html#details
QDateTime::fromTime_t
没了
https://doc.qt.io/qt-5/qdatetime.html#fromSecsSinceEpoch
改用QDateTime::fromSecsSinceEpoch