meson: tests: Do not pull qt5 as a hard dependency

This commit is contained in:
Thibault Saunier 2016-09-05 18:40:19 -03:00
parent acd047db15
commit c8c834e4a1

View file

@ -9,7 +9,7 @@ if x11_dep.found() # FIXME: originally if USE_X
if add_languages('cpp') # check for C++ support
qt5_mod = import('qt5')
qt5widgets_dep = dependency('qt5', modules : ['Gui', 'Widgets'])
qt5widgets_dep = dependency('qt5', modules : ['Gui', 'Widgets'], required: false)
if qt5widgets_dep.found()
executable('qt-videooverlay', 'qt-videooverlay.cpp',
cpp_args : gst_plugins_base_args,