mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 05:59:10 +00:00
overlay: Fix qt support detection
On Ubuntu moc-qt5 command is called moc. This requires Meson 0.54.0 for the new has_tools() method. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2075>
This commit is contained in:
parent
8759014f4c
commit
368f7b2cf2
1 changed files with 1 additions and 3 deletions
|
@ -16,9 +16,7 @@ if x11_dep.found()
|
|||
qt5widgets_dep = dependency('qt5', modules : ['Core', 'Gui', 'Widgets'],
|
||||
required: get_option('examples'))
|
||||
|
||||
# FIXME Add a way to get that information out of the qt5 module
|
||||
moc = find_program('moc-qt5', required : get_option('examples'))
|
||||
if qt5widgets_dep.found() and moc.found()
|
||||
if qt5widgets_dep.found() and qt5_mod.has_tools(required: get_option('examples'))
|
||||
executable('qt-videooverlay', 'qt-videooverlay.cpp',
|
||||
cpp_args : gst_plugins_base_args,
|
||||
include_directories: [configinc, libsinc],
|
||||
|
|
Loading…
Reference in a new issue