mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +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
558 B
Meson
19 lines
558 B
Meson
qt5_mod = import('qt5')
|
|
|
|
qt5gui_dep = dependency('qt5', modules : ['Core', 'Gui', 'Widgets'], required : false)
|
|
qt5opengl_dep = dependency('qt5', modules : ['OpenGL'], required : false)
|
|
# FIXME: other platforms
|
|
libgl = cc.find_library ('GL', required : false)
|
|
|
|
qt_cxx_warn_less = cxx.get_supported_arguments(['-Wno-aggregate-return'])
|
|
|
|
if qt5gui_dep.found()
|
|
subdir('videooverlay')
|
|
if libgl.found()
|
|
subdir('mousevideooverlay')
|
|
if qt5opengl_dep.found()
|
|
subdir('qglwidgetvideooverlay')
|
|
subdir('qglwtextureshare')
|
|
endif
|
|
endif
|
|
endif
|