summaryrefslogtreecommitdiffstats
path: root/src/plugins/sqldrivers/sqlite
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2022-10-26 18:06:51 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2022-10-30 15:00:37 +0200
commitfa4c8fa71ac30feb29f5f7a208cc5fe7d21f3aa9 (patch)
tree4df0ab7c05f593998e25da35e747500be2c7f4c8 /src/plugins/sqldrivers/sqlite
parent48a5d94fd66358be3ebe265fbf152d54364469e0 (diff)
SQLite: enable default features for the built-in version
SQLite's configure enables, by default, more options than the ones that we enabled in our bundled copy of SQLite. Add the necessary defines to reach feature parity, namely support for MATH functions, GEOPOLY and FTS4. [ChangeLog][Third-Party Code] SQLite shipped with Qt now supports FTS4, the mathematical functions and the Geopoly interface. Change-Id: Iaed93fa1994a4c14c0990fab18d7a6e3e67af1e4 Fixes: QTBUG-108016 Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
Diffstat (limited to 'src/plugins/sqldrivers/sqlite')
-rw-r--r--src/plugins/sqldrivers/sqlite/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/sqldrivers/sqlite/CMakeLists.txt b/src/plugins/sqldrivers/sqlite/CMakeLists.txt
index eec81573f8..a183ecc965 100644
--- a/src/plugins/sqldrivers/sqlite/CMakeLists.txt
+++ b/src/plugins/sqldrivers/sqlite/CMakeLists.txt
@@ -52,8 +52,11 @@ qt_internal_extend_target(QSQLiteDriverPlugin CONDITION NOT QT_FEATURE_system_sq
SQLITE_ENABLE_COLUMN_METADATA
SQLITE_ENABLE_FTS3
SQLITE_ENABLE_FTS3_PARENTHESIS
+ SQLITE_ENABLE_FTS4
SQLITE_ENABLE_FTS5
+ SQLITE_ENABLE_GEOPOLY
SQLITE_ENABLE_JSON1
+ SQLITE_ENABLE_MATH_FUNCTIONS
SQLITE_ENABLE_RTREE
SQLITE_OMIT_COMPLETE
INCLUDE_DIRECTORIES