qt6: search in /usr/lib/qt6/bin/ for qsb

In Debian and possibly other distributions, qsb (qt6-shader-baker) is
not in the default path, but in a QT6 specific path. Search there too

Applied changes from Nirbheek

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6095>
This commit is contained in:
Marc Leeman 2024-02-12 09:55:24 +01:00 committed by GStreamer Marge Bot
parent 6608b89977
commit eb17de27d6

View file

@ -60,7 +60,8 @@ if not qt6qml_dep.found()
subdir_done()
endif
qsb = find_program('qsb-qt6', 'qsb', required: qt6_option)
qt6_bindir = qt6qml_dep.get_variable('bindir', configtool: 'QT_HOST_BINS')
qsb = find_program('qsb-qt6', 'qsb', dirs: [qt6_bindir], required: qt6_option)
if not qsb.found()
subdir_done()
endif