mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 09:41:07 +00:00
build/qt6: properly error/skip build if the qsb tool is not found
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3032 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5459>
This commit is contained in:
parent
ed29c23e86
commit
7b491f382c
1 changed files with 5 additions and 1 deletions
|
@ -60,6 +60,11 @@ if not qt6qml_dep.found()
|
|||
subdir_done()
|
||||
endif
|
||||
|
||||
qsb = find_program('qsb-qt6', 'qsb', required: qt6_option)
|
||||
if not qsb.found()
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
optional_deps = []
|
||||
qt_defines = []
|
||||
have_qpa_include = false
|
||||
|
@ -159,7 +164,6 @@ if qt6_option.require(have_qt_windowing).allowed()
|
|||
# Build it!
|
||||
moc_files = qt6_mod.preprocess(moc_headers : moc_headers, method: qt6_method)
|
||||
# TODO: dist backup qsb shaders?
|
||||
qsb = find_program('qsb-qt6', 'qsb')
|
||||
shaders = []
|
||||
foreach shader: shader_sources
|
||||
qsb_shader = shader + '.qsb'
|
||||
|
|
Loading…
Reference in a new issue