package/qt6/qt6base: add support for test module

Signed-off-by: Jesse Van Gavere <jesseevg@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Jesse Van Gavere 2022-08-26 15:54:40 +02:00 committed by Thomas Petazzoni
parent d243ec33ad
commit bb6352c9ed
2 changed files with 11 additions and 0 deletions

View File

@ -27,6 +27,11 @@ config BR2_PACKAGE_QT6BASE_NETWORK
help
This options enables the Qt6Network library.
config BR2_PACKAGE_QT6BASE_TEST
bool "test module"
help
This options enables the Qt6Test library.
config BR2_PACKAGE_QT6BASE_XML
bool "XML module"
help

View File

@ -87,6 +87,12 @@ else
QT6BASE_CONF_OPTS += -DFEATURE_concurrent=OFF
endif
ifeq ($(BR2_PACKAGE_QT6BASE_TEST),y)
QT6BASE_CONF_OPTS += -DFEATURE_testlib=ON
else
QT6BASE_CONF_OPTS += -DFEATURE_testlib=OFF
endif
ifeq ($(BR2_PACKAGE_QT6BASE_XML),y)
QT6BASE_CONF_OPTS += -DFEATURE_xml=ON
else