From 95a0fa3a3cdfcbc8c1f121a89195efbabab50e69 Mon Sep 17 00:00:00 2001 From: jwinterm Date: Sat, 20 Jun 2026 16:38:28 -0400 Subject: [PATCH] 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'. --- contrib/depends/packages/native_qt.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/depends/packages/native_qt.mk b/contrib/depends/packages/native_qt.mk index dd736524..edae23b8 100644 --- a/contrib/depends/packages/native_qt.mk +++ b/contrib/depends/packages/native_qt.mk @@ -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