2020-09-15 18:15:36 +00:00
|
|
|
if get_option('qt5').disabled()
|
|
|
|
subdir_done()
|
|
|
|
endif
|
|
|
|
|
2020-06-12 03:04:23 +00:00
|
|
|
qt5_mod = import('qt5')
|
|
|
|
|
|
|
|
qt5gui_dep = dependency('qt5', modules : ['Core', 'Gui', 'Widgets'], required : false)
|
|
|
|
qt5opengl_dep = dependency('qt5', modules : ['OpenGL'], required : false)
|
2020-07-23 09:48:55 +00:00
|
|
|
#FIXME; other platforms
|
2020-06-12 03:04:23 +00:00
|
|
|
libgl = cc.find_library ('GL', required : false)
|
|
|
|
|
2020-07-14 04:06:58 +00:00
|
|
|
qt_cxx_warn_less = cxx.get_supported_arguments(['-Wno-aggregate-return'])
|
|
|
|
|
2020-06-12 03:04:23 +00:00
|
|
|
if qt5gui_dep.found()
|
|
|
|
subdir('videooverlay')
|
|
|
|
if libgl.found()
|
|
|
|
subdir('mousevideooverlay')
|
|
|
|
if qt5opengl_dep.found()
|
|
|
|
subdir('qglwidgetvideooverlay')
|
|
|
|
subdir('qglwtextureshare')
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|