tests: fix qt project test when running with qt4
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.

mesonbuild/meson,mesonbuild/meson,mesonbuild/meson,mesonbuild/meson,mesonbuild/meson,mesonbuild/meson,mesonbuild/meson,mesonbuild/meson,mesonbuild/meson,mesonbuild/meson