Nirbheek Chauhan 0ba85c84a1 meson: Make qml/qml6 plugins use the right qt detection method
Otherwise they can pick up the wrong qt and cause two different Qt
instances to be used in the same program.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9046>
2025-05-23 09:43:17 +00:00

21 lines
473 B
Meson

if qt6_option.disabled()
subdir_done()
endif
# We already did all the checks when building the qt6 plugin
if not qt6qml_dep.found()
subdir_done()
endif
qt6qml_example_deps = dependency('qt6', modules : ['Core', 'Gui', 'Widgets', 'Qml', 'Quick'],
method: qt6_method, required: get_option('examples'))
if not qt6qml_example_deps.found()
subdir_done()
endif
subdir('qmlsink')
subdir('qmlsrc')
subdir('qmloverlay')
subdir('qmlmixer')