unittests: Make qt test work if multiple versions of qt installed

pull/9327/head
makise-homura 3 years ago committed by Dylan Baker
parent e836076e24
commit fc3de287cb
  1. 2
      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('unityproof_translations', translations_cpp)
unityproof_translations = static_library(qt+'unityproof_translations', translations_cpp)
extra_cpp_args += '-DQT="@0@"'.format(qt)
qexe = executable(qt + 'app',

Loading…
Cancel
Save