Completed port to Qt5, and we now use QSqlDatabase instead of SQLite's API.