Fix compile without built-in qsqlite

This commit is contained in:
Jonas Kvinge
2018-05-04 19:16:08 +02:00
parent 0af0af2415
commit 99868323d7
4 changed files with 7 additions and 7 deletions

View File

@@ -82,8 +82,10 @@
#endif
// Load sqlite plugin on windows and mac.
#ifndef USE_SYSTEM_QSQLITE
#include <QtPlugin>
Q_IMPORT_PLUGIN(QSQLiteDriverPlugin)
#endif
int main(int argc, char* argv[]) {