Signed-off-by: Jesse Van Gavere <jesseevg@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
@@ -27,4 +27,9 @@ config BR2_PACKAGE_QT6BASE_NETWORK
help
This options enables the Qt6Network library.
+config BR2_PACKAGE_QT6BASE_XML
+ bool "XML module"
+ help
+ This options enables the Qt6Xml library.
+
endif
@@ -87,5 +87,11 @@ else
QT6BASE_CONF_OPTS += -DFEATURE_concurrent=OFF
+ifeq ($(BR2_PACKAGE_QT6BASE_XML),y)
+QT6BASE_CONF_OPTS += -DFEATURE_xml=ON
+else
+QT6BASE_CONF_OPTS += -DFEATURE_xml=OFF
+endif
$(eval $(cmake-package))
$(eval $(host-cmake-package))