diff --git a/package/qt6/qt6base/Config.in b/package/qt6/qt6base/Config.in index 2d4a4df223..f3e56aefa4 100644 --- a/package/qt6/qt6base/Config.in +++ b/package/qt6/qt6base/Config.in @@ -35,6 +35,11 @@ config BR2_PACKAGE_QT6BASE_NETWORK help This options enables the Qt6Network library. +config BR2_PACKAGE_QT6BASE_SYSLOG + bool "syslog support" + help + Logs to the standard UNIX logging mechanism. + config BR2_PACKAGE_QT6BASE_TEST bool "test module" help diff --git a/package/qt6/qt6base/qt6base.mk b/package/qt6/qt6base/qt6base.mk index 36176367e5..6603d08bf1 100644 --- a/package/qt6/qt6base/qt6base.mk +++ b/package/qt6/qt6base/qt6base.mk @@ -111,5 +111,11 @@ else QT6BASE_CONF_OPTS += -DFEATURE_xml=OFF endif +ifeq ($(BR2_PACKAGE_QT6BASE_SYSLOG),y) +QT6BASE_CONF_OPTS += -DFEATURE_syslog=ON +else +QT6BASE_CONF_OPTS += -DFEATURE_syslog=OFF +endif + $(eval $(cmake-package)) $(eval $(host-cmake-package))