summaryrefslogtreecommitdiffstats
path: root/src/sql/qt_sql.pri
diff options
context:
space:
mode:
Diffstat (limited to 'src/sql/qt_sql.pri')
-rw-r--r--src/sql/qt_sql.pri6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sql/qt_sql.pri b/src/sql/qt_sql.pri
index f5bd94872..9ad505373 100644
--- a/src/sql/qt_sql.pri
+++ b/src/sql/qt_sql.pri
@@ -250,5 +250,11 @@ sql {
SOURCES += $$SQL_CPP/drivers/sqlite/qsql_sqlite.cpp
DEFINES += QT_SQL_SQLITE
}
+
+ contains(sql-drivers, sqlite3) {
+ HEADERS += $$SQL_CPP/drivers/sqlite3/qsql_sqlite3.h
+ SOURCES += $$SQL_CPP/drivers/sqlite3/qsql_sqlite3.cpp
+ DEFINES += QT_SQL_SQLITE3
+ }
}