]> Git Repo - buildroot-mgba.git/commitdiff
package/qt6/qt6base: add blind option to enable Network support on host
authorRoy Kollen Svendsen <[email protected]>
Tue, 25 Jun 2024 21:18:27 +0000 (23:18 +0200)
committerThomas Petazzoni <[email protected]>
Fri, 12 Jul 2024 08:44:28 +0000 (10:44 +0200)
The Network module is explicitly required by qt6tools.

Signed-off-by: Roy Kollen Svendsen <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
package/qt6/qt6base/Config.in.host
package/qt6/qt6base/qt6base.mk

index 326c06278e8dc46078eb9df58e72595f64185fdc..286da0ff03c7d35865dcd1a108a3d79f6dabe0d8 100644 (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
index 57f88e7779ba5658438f76baa10cdfd0786b1fd5..8ab4d408bb26513be8bf475d2abf56e1d2901808 100644 (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.
 
This page took 0.039565 seconds and 4 git commands to generate.