aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-11-17 01:41:12 -0500
committerNirbheek Chauhan <nirbheek@centricular.com>2022-11-21 15:43:52 +0530
commite69d92240868d0b113a9400e5d0270876bdb4549 (patch)
treed63aa6c5fe3358c9f55b3c89defa8da917e5d82a
parentd74afb8dfebd41d08b057bde4fca94f9d3c5e55b (diff)
downloadmeson-e69d92240868d0b113a9400e5d0270876bdb4549.zip
meson-e69d92240868d0b113a9400e5d0270876bdb4549.tar.gz
meson-e69d92240868d0b113a9400e5d0270876bdb4549.tar.bz2
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.
-rw-r--r--test cases/frameworks/4 qt/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/frameworks/4 qt/meson.build b/test cases/frameworks/4 qt/meson.build
index ef40c99..735b3f9 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',