From d243ec33ad7fd815b38be8073e87215d6cb75f97 Mon Sep 17 00:00:00 2001 From: Jesse Van Gavere Date: Fri, 26 Aug 2022 15:54:39 +0200 Subject: [PATCH] package/qt6/qt6base: add support for xml module Signed-off-by: Jesse Van Gavere Signed-off-by: Thomas Petazzoni --- package/qt6/qt6base/Config.in | 5 +++++ package/qt6/qt6base/qt6base.mk | 6 ++++++ 2 files changed, 11 insertions(+) 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))