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>
This commit is contained in:
parent
331a381c66
commit
0ba85c84a1
@ -8,7 +8,7 @@ if not qt5qml_dep.found()
|
||||
endif
|
||||
|
||||
qt5qml_example_deps = dependency('qt5', modules : ['Core', 'Gui', 'Widgets', 'Qml', 'Quick'],
|
||||
required: get_option('examples'))
|
||||
method: qt5_method, required: get_option('examples'))
|
||||
|
||||
if not qt5qml_example_deps.found()
|
||||
subdir_done()
|
||||
|
@ -8,7 +8,7 @@ if not qt6qml_dep.found()
|
||||
endif
|
||||
|
||||
qt6qml_example_deps = dependency('qt6', modules : ['Core', 'Gui', 'Widgets', 'Qml', 'Quick'],
|
||||
required: get_option('examples'))
|
||||
method: qt6_method, required: get_option('examples'))
|
||||
|
||||
if not qt6qml_example_deps.found()
|
||||
subdir_done()
|
||||
|
Loading…
x
Reference in New Issue
Block a user