qt6: search in /usr/lib/qt6/bin/ for qsb
authorMarc Leeman <m.leeman@televic.com>
Mon, 12 Feb 2024 08:55:24 +0000 (09:55 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 19 Feb 2024 12:29:32 +0000 (12:29 +0000)
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>

subprojects/gst-plugins-good/ext/qt6/meson.build

index 0601dfe5ee4b55fe9e727cdae164b57e5d82a631..2b1ab1d8711290cb66ee0319157c782a665602e6 100644 (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