diff options
Diffstat (limited to 'src/sql/qt_sql.pri')
-rw-r--r-- | src/sql/qt_sql.pri | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sql/qt_sql.pri b/src/sql/qt_sql.pri index 15ec8912e..fea3c9d59 100644 --- a/src/sql/qt_sql.pri +++ b/src/sql/qt_sql.pri @@ -255,6 +255,11 @@ sql { HEADERS += $$SQL_CPP/drivers/sqlite3/qsql_sqlite3.h SOURCES += $$SQL_CPP/drivers/sqlite3/qsql_sqlite3.cpp DEFINES += QT_SQL_SQLITE3 + unix { + !contains( LIBS, .*sqlite3.* ) { + LIBS *= -lsqlite3 + } + } } } |