I set database:
Qt Code:
  1. QsqlDatabase db;
  2. db = QsqlDatabase::addDatabase("QSQLITE");
To copy to clipboard, switch view to plain text mode 

But I can not find how can I use sqlite3_busy_timeout(sqlite3*, int ms) function in Qt.