summaryrefslogtreecommitdiffstats
path: root/src/sql/qt_sql.pri
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2014-05-24 16:19:34 +0200
committerSlávek Banko <[email protected]>2014-05-24 16:19:34 +0200
commita44a713fec2e2c3678d64307620225c11cbe955b (patch)
treeb718479bf854d112c0cc66b7bbc79e5b894d7767 /src/sql/qt_sql.pri
parentbb6df872fea9a8980016b9e54eea2fbde00062c0 (diff)
downloadtqt3-a44a713fec2e2c3678d64307620225c11cbe955b.tar.gz
tqt3-a44a713fec2e2c3678d64307620225c11cbe955b.zip
Add sqlite3 plugin
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
+ }
}