mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/qt6/qt6base: add blind option to enable GUI support on host
We need host-qt6base with Gui support when building host-qt6shadertools, otherwise the build is skipped and no qsb host tool is generated. qt6shadertools fail to build if qsb is not available. Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
00484ef59c
commit
e4e4fd4aea
@@ -92,6 +92,7 @@ menu "Host utilities"
|
||||
source "package/python3/Config.in.host"
|
||||
source "package/qemu/Config.in.host"
|
||||
source "package/qoriq-rcw/Config.in.host"
|
||||
source "package/qt6/Config.in.host"
|
||||
source "package/raspberrypi-usbboot/Config.in.host"
|
||||
source "package/rauc/Config.in.host"
|
||||
source "package/riscv-isa-sim/Config.in.host"
|
||||
|
||||
5
package/qt6/Config.in.host
Normal file
5
package/qt6/Config.in.host
Normal file
@@ -0,0 +1,5 @@
|
||||
if BR2_PACKAGE_QT6
|
||||
|
||||
source "package/qt6/qt6base/Config.in.host"
|
||||
|
||||
endif
|
||||
4
package/qt6/qt6base/Config.in.host
Normal file
4
package/qt6/qt6base/Config.in.host
Normal file
@@ -0,0 +1,4 @@
|
||||
# Select this if you need host qt6 tools that require the Qt::Gui module (e.g.
|
||||
# Qt Shader Baker(qsb)).
|
||||
config BR2_PACKAGE_HOST_QT6BASE_GUI
|
||||
bool
|
||||
@@ -84,7 +84,6 @@ HOST_QT6BASE_DEPENDENCIES = \
|
||||
host-pcre2 \
|
||||
host-zlib
|
||||
HOST_QT6BASE_CONF_OPTS = \
|
||||
-DFEATURE_gui=OFF \
|
||||
-DFEATURE_concurrent=OFF \
|
||||
-DFEATURE_xml=ON \
|
||||
-DFEATURE_sql=OFF \
|
||||
@@ -98,6 +97,32 @@ HOST_QT6BASE_CONF_OPTS = \
|
||||
-DFEATURE_system_pcre2=ON \
|
||||
-DFEATURE_system_zlib=ON
|
||||
|
||||
# We need host-qt6base with Gui support when building host-qt6shadertools,
|
||||
# otherwise the build is skipped and no qsb host tool is generated.
|
||||
# qt6shadertools fail to build if qsb is not available.
|
||||
ifeq ($(BR2_PACKAGE_HOST_QT6BASE_GUI),y)
|
||||
HOST_QT6BASE_CONF_OPTS += \
|
||||
-DFEATURE_gui=ON \
|
||||
-DFEATURE_freetype=OFF \
|
||||
-DFEATURE_vulkan=OFF \
|
||||
-DFEATURE_linuxfb=ON \
|
||||
-DFEATURE_xcb=OFF \
|
||||
-DFEATURE_opengl=OFF -DINPUT_opengl=no \
|
||||
-DFEATURE_harfbuzz=OFF \
|
||||
-DFEATURE_png=OFF \
|
||||
-DFEATURE_gif=OFF \
|
||||
-DFEATURE_jpeg=OFF \
|
||||
-DFEATURE_printsupport=OFF \
|
||||
-DFEATURE_kms=OFF \
|
||||
-DFEATURE_fontconfig=OFF \
|
||||
-DFEATURE_widgets=OFF \
|
||||
-DFEATURE_libinput=OFF \
|
||||
-DFEATURE_tslib=OFF \
|
||||
-DFEATURE_eglfs=OFF
|
||||
else
|
||||
HOST_QT6BASE_CONF_OPTS += -DFEATURE_gui=OFF
|
||||
endif
|
||||
|
||||
# Conditional blocks below are ordered by alphabetic ordering of the
|
||||
# BR2_PACKAGE_* option.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user