Skip to content

Commit d56415e

Browse files
committed
Merge pull request devbean#2 from sir-murray/master
Use app template on android and install to Qt plugin dir
2 parents cb9ee1d + 9111731 commit d56415e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

sqlitecipher/sqlitecipher.pro

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
TARGET = sqlitecipher
2-
TEMPLATE = lib
2+
android {
3+
TEMPLATE = app
4+
} else {
5+
TEMPLATE = lib
6+
}
37

48
QT *= core sql
59

610
include($$PWD/qt_p.pri)
711
include($$PWD/sqlite3/sqlite3.pri)
812

13+
target.path = $$[QT_INSTALL_PLUGINS]/sqldrivers/
14+
INSTALLS += target
15+
916
HEADERS += $$PWD/qsql_sqlite.h
1017
SOURCES += $$PWD/qsql_sqlite.cpp \
1118
$$PWD/smain.cpp

0 commit comments

Comments
 (0)