summaryrefslogtreecommitdiffstats
path: root/plugins/src/sqldrivers/sqlite3/sqlite3.pro
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/src/sqldrivers/sqlite3/sqlite3.pro')
-rw-r--r--plugins/src/sqldrivers/sqlite3/sqlite3.pro33
1 files changed, 33 insertions, 0 deletions
diff --git a/plugins/src/sqldrivers/sqlite3/sqlite3.pro b/plugins/src/sqldrivers/sqlite3/sqlite3.pro
new file mode 100644
index 000000000..c3184f937
--- /dev/null
+++ b/plugins/src/sqldrivers/sqlite3/sqlite3.pro
@@ -0,0 +1,33 @@
+TEMPLATE = lib
+TARGET = qsqlite3
+
+CONFIG += qt plugin
+DESTDIR = ../../../sqldrivers
+
+HEADERS = ../../../../src/sql/drivers/sqlite3/qsql_sqlite3.h
+SOURCES = smain.cpp \
+ ../../../../src/sql/drivers/sqlite3/qsql_sqlite3.cpp
+
+unix {
+ OBJECTS_DIR = .obj
+ !contains( LIBS, .*sqlite3.* ) {
+ LIBS *= -lsqlite3
+ }
+}
+
+win32 {
+ OBJECTS_DIR = obj
+ LIBS *= sqlite3.lib
+# win32-msvc: {
+# LIBS *= delayimp.lib
+# QMAKE_LFLAGS += /DELAYLOAD:sqlite3.dll
+# }
+# win32-borland: {
+# QMAKE_LFLAGS += /dsqlite3.dll
+# }
+}
+
+REQUIRES = sql
+
+target.path += $$plugins.path/sqldrivers
+INSTALLS += target