Home:ALL Converter>QSqlQuery very slow in Qt5 sometimes

QSqlQuery very slow in Qt5 sometimes

Ask Time:2016-06-02T11:19:12         Author:Nick Sun

Json Formatter

I develop application based on Qt5. In my application I use sqlite3 database. And then I found one problem that the sqlite3 QSqlQuery.next() is very slow when my app first launch.

Author:Nick Sun,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/37582055/qsqlquery-very-slow-in-qt5-sometimes
yy