From eb17de27d6ec270650da06c3a91d319c724de6f1 Mon Sep 17 00:00:00 2001 From: Marc Leeman Date: Mon, 12 Feb 2024 09:55:24 +0100 Subject: [PATCH] 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: --- subprojects/gst-plugins-good/ext/qt6/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-good/ext/qt6/meson.build b/subprojects/gst-plugins-good/ext/qt6/meson.build index 0601dfe5ee..2b1ab1d871 100644 --- a/subprojects/gst-plugins-good/ext/qt6/meson.build +++ b/subprojects/gst-plugins-good/ext/qt6/meson.build @@ -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