package/qt6/qt6base: add support for widgets gtk backend
Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
05e4ad9c7e
commit
889f451caf
@ -217,6 +217,15 @@ endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT6BASE_WIDGETS),y)
|
||||
QT6BASE_CONF_OPTS += -DFEATURE_widgets=ON
|
||||
|
||||
# only enable gtk support if libgtk3 X11 backend is enabled
|
||||
ifeq ($(BR2_PACKAGE_LIBGTK3)$(BR2_PACKAGE_LIBGTK3_X11),yy)
|
||||
QT6BASE_CONF_OPTS += -DFEATURE_gtk3=ON
|
||||
QT6BASE_DEPENDENCIES += libgtk3
|
||||
else
|
||||
QT6BASE_CONF_OPTS += -DFEATURE_gtk3=OFF
|
||||
endif
|
||||
|
||||
else
|
||||
QT6BASE_CONF_OPTS += -DFEATURE_widgets=OFF
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user