From 3ce554bef0f2f06768a1b64750f7ba60111d807c Mon Sep 17 00:00:00 2001 From: Maurice Kalinowski Date: Tue, 8 Jul 2014 14:54:25 +0200 Subject: Add sqlite to Windows Phone default build sqlite 3.8.5 supports Windows Phone 8.1. Make required adaptations and add it to the default build. For WinRT and Windows Phone the QSqlQueryModel unit-test fails, both with plugin compiled and using the system sqlite. Root cause seems to be deep inside sqlite, hoping for a fix soon. However, all other tests pass and hence we should enable it. Task-number: QTBUG-37770 Change-Id: I700dde4a44a8f1d74460ef6cb4a1e1d330073d66 Reviewed-by: Oliver Wolff Reviewed-by: Friedemann Kleint Reviewed-by: Oswald Buddenhagen --- src/3rdparty/sqlite.pri | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/3rdparty/sqlite.pri b/src/3rdparty/sqlite.pri index 0c9d179660..15f082b2ba 100644 --- a/src/3rdparty/sqlite.pri +++ b/src/3rdparty/sqlite.pri @@ -3,6 +3,7 @@ DEFINES += SQLITE_OMIT_LOAD_EXTENSION SQLITE_OMIT_COMPLETE SQLITE_ENABLE_FTS3 SQ !contains(CONFIG, largefile):DEFINES += SQLITE_DISABLE_LFS contains(QT_CONFIG, posix_fallocate):DEFINES += HAVE_POSIX_FALLOCATE=1 winrt: DEFINES += SQLITE_OS_WINRT +winphone: DEFINES += SQLITE_WIN32_FILEMAPPING_API=1 qnx: DEFINES += _QNX_SOURCE INCLUDEPATH += $$PWD/sqlite SOURCES += $$PWD/sqlite/sqlite3.c -- cgit v1.2.3