From 174e05d0f6ced6f5e74d70fb19485d2417340b54 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 17 Nov 2022 01:41:12 -0500 Subject: [PATCH] tests: fix qt project test when running with qt4 *.qrc files converted to C++ sources could make use of Qt headers, and in practice for qt4 they seem to. Since this is Qt code to begin with, it makes sense to depend on the Qt being targeted regardless of version. --- test cases/frameworks/4 qt/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test cases/frameworks/4 qt/meson.build b/test cases/frameworks/4 qt/meson.build index ef40c9914..735b3f9c4 100644 --- a/test cases/frameworks/4 qt/meson.build +++ b/test cases/frameworks/4 qt/meson.build @@ -83,7 +83,7 @@ foreach qt : ['qt4', 'qt5', 'qt6'] translations_cpp = qtmodule.compile_translations(qresource: qt+'_lang.qrc') # unity builds suck and definitely cannot handle two qrc embeds in one compilation unit - unityproof_translations = static_library(qt+'unityproof_translations', translations_cpp) + unityproof_translations = static_library(qt+'unityproof_translations', translations_cpp, dependencies: qtdep) extra_cpp_args += '-DQT="@0@"'.format(qt) qexe = executable(qt + 'app',