diff --git a/package/qt6/qt6base/Config.in b/package/qt6/qt6base/Config.in index fe488f1cc9..41c04fc5f6 100644 --- a/package/qt6/qt6base/Config.in +++ b/package/qt6/qt6base/Config.in @@ -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 diff --git a/package/qt6/qt6base/qt6base.mk b/package/qt6/qt6base/qt6base.mk index 35ab516795..b2eff62eb1 100644 --- a/package/qt6/qt6base/qt6base.mk +++ b/package/qt6/qt6base/qt6base.mk @@ -87,5 +87,11 @@ else QT6BASE_CONF_OPTS += -DFEATURE_concurrent=OFF endif +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))