mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 08:14:09 -09:00
package/qt6/qt6base: add blind option to enable Test support on host
We need host-qt6base with Testlib support when building host-qt6declarative with QuickTest support. QuickTest support is further required for building the qmltestrunner host tool. qt6declarative will fail to build if qmltestrunner 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
f7692d6533
commit
bab745cb97
@@ -7,3 +7,8 @@ config BR2_PACKAGE_HOST_QT6BASE_GUI
|
||||
# (e.g. Qt Tools).
|
||||
config BR2_PACKAGE_HOST_QT6BASE_NETWORK
|
||||
bool
|
||||
|
||||
# Select this if you need host qt6 tools that require the Qt::Test module
|
||||
# (e.g. qmltestrunner).
|
||||
config BR2_PACKAGE_HOST_QT6BASE_TEST
|
||||
bool
|
||||
|
||||
@@ -87,7 +87,6 @@ HOST_QT6BASE_CONF_OPTS = \
|
||||
-DFEATURE_concurrent=OFF \
|
||||
-DFEATURE_xml=ON \
|
||||
-DFEATURE_sql=OFF \
|
||||
-DFEATURE_testlib=OFF \
|
||||
-DFEATURE_dbus=OFF \
|
||||
-DFEATURE_icu=OFF \
|
||||
-DFEATURE_glib=OFF \
|
||||
@@ -129,6 +128,16 @@ else
|
||||
HOST_QT6BASE_CONF_OPTS += -DFEATURE_network=OFF
|
||||
endif
|
||||
|
||||
# We need host-qt6base with Testlib support when building host-qt6declarative
|
||||
# with QuickTest support. QuickTest support is further required for building the
|
||||
# qmltestrunner host tool. qt6declarative will fail to build if qmltestrunner is
|
||||
# not available.
|
||||
ifeq ($(BR2_PACKAGE_HOST_QT6BASE_TEST),y)
|
||||
HOST_QT6BASE_CONF_OPTS += -DFEATURE_testlib=ON
|
||||
else
|
||||
HOST_QT6BASE_CONF_OPTS += -DFEATURE_testlib=OFF
|
||||
endif
|
||||
|
||||
# Conditional blocks below are ordered by alphabetic ordering of the
|
||||
# BR2_PACKAGE_* option.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user