package/qt6/qt6base: add support for widgets

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Angelo Compagnucci 2023-02-07 18:17:12 +01:00 committed by Thomas Petazzoni
parent 6d91bc90af
commit 05e4ad9c7e
2 changed files with 11 additions and 0 deletions

View File

@ -95,6 +95,11 @@ config BR2_PACKAGE_QT6BASE_PNG
This option enables PNG support using the system libpng
library.
config BR2_PACKAGE_QT6BASE_WIDGETS
bool "widgets module"
help
This option enables the Qt6Widgets library.
endif
config BR2_PACKAGE_QT6BASE_NETWORK

View File

@ -215,6 +215,12 @@ else
QT6BASE_CONF_OPTS += -DFEATURE_fontconfig=OFF
endif
ifeq ($(BR2_PACKAGE_QT6BASE_WIDGETS),y)
QT6BASE_CONF_OPTS += -DFEATURE_widgets=ON
else
QT6BASE_CONF_OPTS += -DFEATURE_widgets=OFF
endif
else
QT6BASE_CONF_OPTS += -DFEATURE_gui=OFF
endif