package/qt6/qt6base: add blind option to enable Network support on host

The Network module is explicitly required by qt6tools.

Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Roy Kollen Svendsen
2024-06-25 23:18:27 +02:00
committed by Thomas Petazzoni
parent e4e4fd4aea
commit f7692d6533
2 changed files with 12 additions and 1 deletions

View File

@@ -2,3 +2,8 @@
# Qt Shader Baker(qsb)).
config BR2_PACKAGE_HOST_QT6BASE_GUI
bool
# Select this if you need host qt6 tools that require the Qt::Network module
# (e.g. Qt Tools).
config BR2_PACKAGE_HOST_QT6BASE_NETWORK
bool

View File

@@ -88,7 +88,6 @@ HOST_QT6BASE_CONF_OPTS = \
-DFEATURE_xml=ON \
-DFEATURE_sql=OFF \
-DFEATURE_testlib=OFF \
-DFEATURE_network=OFF \
-DFEATURE_dbus=OFF \
-DFEATURE_icu=OFF \
-DFEATURE_glib=OFF \
@@ -123,6 +122,13 @@ else
HOST_QT6BASE_CONF_OPTS += -DFEATURE_gui=OFF
endif
# The Network module is explicitly required by qt6tools.
ifeq ($(BR2_PACKAGE_HOST_QT6BASE_NETWORK),y)
HOST_QT6BASE_CONF_OPTS += -DFEATURE_network=ON
else
HOST_QT6BASE_CONF_OPTS += -DFEATURE_network=OFF
endif
# Conditional blocks below are ordered by alphabetic ordering of the
# BR2_PACKAGE_* option.