mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
package/qt6/qt6base: add blind option to enable Sql support on host
We need host qt6base with Sql support for host-qt6tools to generate the qhelpgenerator host tool. qt6tools will fail to build if qhelpgenerator is not available. Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
bab745cb97
commit
663c9ead3c
@@ -12,3 +12,8 @@ config BR2_PACKAGE_HOST_QT6BASE_NETWORK
|
||||
# (e.g. qmltestrunner).
|
||||
config BR2_PACKAGE_HOST_QT6BASE_TEST
|
||||
bool
|
||||
|
||||
# Select this if you need host qt6 tools that require the Qt::Sql module
|
||||
# (e.g. qhelpgenerator).
|
||||
config BR2_PACKAGE_HOST_QT6BASE_SQL
|
||||
bool
|
||||
|
||||
@@ -86,7 +86,6 @@ HOST_QT6BASE_DEPENDENCIES = \
|
||||
HOST_QT6BASE_CONF_OPTS = \
|
||||
-DFEATURE_concurrent=OFF \
|
||||
-DFEATURE_xml=ON \
|
||||
-DFEATURE_sql=OFF \
|
||||
-DFEATURE_dbus=OFF \
|
||||
-DFEATURE_icu=OFF \
|
||||
-DFEATURE_glib=OFF \
|
||||
@@ -128,6 +127,15 @@ else
|
||||
HOST_QT6BASE_CONF_OPTS += -DFEATURE_network=OFF
|
||||
endif
|
||||
|
||||
# We need host qt6base with Sql support for host-qt6tools to generate the
|
||||
# qhelpgenerator host tool. qt6tools will fail to build if qhelpgenerator is not
|
||||
# available.
|
||||
ifeq ($(BR2_PACKAGE_HOST_QT6BASE_SQL),y)
|
||||
HOST_QT6BASE_CONF_OPTS += -DFEATURE_sql=ON
|
||||
else
|
||||
HOST_QT6BASE_CONF_OPTS += -DFEATURE_sql=OFF
|
||||
endif
|
||||
|
||||
# We need host-qt6base with Testlib support when building host-qt6declarative
|
||||
# with QuickTest support. QuickTest support is further required for building the
|
||||
# qmltestrunner host tool. qt6declarative will fail to build if qmltestrunner is
|
||||
|
||||
Reference in New Issue
Block a user