depends(native_qt): keep testlib enabled so the host builds qmltestrunner

Cross qtdeclarative builds tools/qmltestrunner (QtQuickTest, needs testlib) and demands a matching HOST tool; the host's -no-feature-testlib left it without one, failing 'Configuring qtdeclarative' with 'Failed to find host tool Qt6::qmltestrunner'.
This commit is contained in:
jwinterm
2026-06-20 16:38:28 -04:00
parent 6a1fc084c2
commit 95a0fa3a3c
+3 -1
View File
@@ -83,7 +83,9 @@ $(package)_config_opts += -no-feature-sessionmanager
$(package)_config_opts += -no-feature-spatialaudio
$(package)_config_opts += -no-feature-sql
$(package)_config_opts += -no-feature-syntaxhighlighter
$(package)_config_opts += -no-feature-testlib
# wowlet: keep testlib (QtTest) ON in the HOST Qt. The cross qtdeclarative builds tools/qmltestrunner
# (part of QtQuickTest, which needs testlib) and requires the matching HOST tool; -no-feature-testlib
# left the host without qmltestrunner, failing "Configuring qtdeclarative" on the cross build.
$(package)_config_opts += -no-feature-textmarkdownwriter
$(package)_config_opts += -no-feature-textodfwriter
$(package)_config_opts += -no-feature-topleveldomain