mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-05 07:56:35 +00:00
e6823576ce
-Waggregate-return: used by some Qt clases extensively and not super useful for this example. Supress it. warning: "GL_GLEXT_VERSION" redefined: Perform the same workaround as qmlglsink by defining the old gl/GL.h header guard if the new GL/gl.h guard exists. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/752>
19 lines
488 B
Meson
19 lines
488 B
Meson
sources = [
|
|
'main.cpp',
|
|
'gstthread.cpp',
|
|
'pipeline.cpp',
|
|
'qglrenderer.cpp',
|
|
]
|
|
|
|
moc_headers = [
|
|
'gstthread.h',
|
|
'pipeline.h',
|
|
'qglrenderer.h',
|
|
]
|
|
|
|
moc_files = qt5_mod.preprocess(moc_headers : moc_headers)
|
|
executable('qglwidgetvideoverlay', sources, moc_files,
|
|
cpp_args : [gst_plugins_base_args] + qt_cxx_warn_less,
|
|
include_directories: [configinc, libsinc],
|
|
dependencies : [qt5core_dep, qt5gui_dep, qt5opengl_dep, gst_dep, video_dep, gstgl_dep, libgl],
|
|
install: false)
|