package/qt6/qt6base: add support for sql module w/ sqlite
Even though Qt6 support using a bundled sqlite, in Buildroot, we always prefer to use non-bundled libraries when possible. Signed-off-by: Jesse Van Gavere <jesseevg@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
8d8afc7a06
commit
c84f8742be
@ -72,6 +72,13 @@ comment "PostgreSQL plugin can't be built with optimize for fast"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_OPTIMIZE_FAST
|
||||
|
||||
config BR2_PACKAGE_QT6BASE_SQLITE
|
||||
bool "SQLite plugin"
|
||||
select BR2_PACKAGE_SQLITE
|
||||
select BR2_PACKAGE_SQLITE_ENABLE_COLUMN_METADATA
|
||||
help
|
||||
Build SQLite plugin
|
||||
|
||||
endif
|
||||
|
||||
config BR2_PACKAGE_QT6BASE_SYSLOG
|
||||
|
@ -172,6 +172,13 @@ else
|
||||
QT6BASE_CONF_OPTS += -DFEATURE_sql_psql=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT6BASE_SQLITE),y)
|
||||
QT6BASE_CONF_OPTS += -DFEATURE_sql_sqlite=ON -DFEATURE_system_sqlite=ON
|
||||
QT6BASE_DEPENDENCIES += sqlite
|
||||
else
|
||||
QT6BASE_CONF_OPTS += -DFEATURE_sql_sqlite=OFF
|
||||
endif
|
||||
|
||||
else
|
||||
QT6BASE_CONF_OPTS += -DFEATURE_sql=OFF
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user