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

22 lines
517 B
Meson

if qt5_option.disabled()
subdir_done()
endif
# We already did all the checks when building the qt plugin
if not qt5qml_dep.found()
subdir_done()
endif
qt5qml_example_deps = dependency('qt5', modules : ['Core', 'Gui', 'Widgets', 'Qml', 'Quick'],
method: qt5_method, required: get_option('examples'))
if not qt5qml_example_deps.found()
subdir_done()
endif
subdir('qmloverlay')
subdir('qmlsink')
subdir('qmlsink-multisink')
subdir('qmlsink-dynamically-added')
subdir('qmlsrc')