gstreamer/tests/examples/qt/meson.build
Nirbheek Chauhan 2ecba800bf meson: Revamp qt5qml plugin and example build code
Stricter and simpler. For example, now we properly error out when
gstreamer-gl-1.0 was not found when the qt5 plugin is enabled or when
a C++ compiler is not enabled.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/587>
2020-05-12 04:30:13 +05:30

20 lines
461 B
Meson

if qt5_option.disabled()
subdir_done()
endif
# We already did all the checks when building the qt plugin
if not qt5qml_dep.found()
subdir_done()
endif
qt5qml_example_deps = dependency('qt5', modules : ['Core', 'Gui', 'Widgets', 'Qml', 'Quick'],
required: get_option('examples'))
if not qt5qml_example_deps.found()
subdir_done()
endif
subdir('qmloverlay')
subdir('qmlsink')
subdir('qmlsink-dynamically-added')
subdir('qmlsrc')