• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1if get_option('qt5').disabled()
2  subdir_done()
3endif
4
5qt5_mod = import('qt5')
6
7qt5gui_dep = dependency('qt5', modules : ['Core', 'Gui', 'Widgets'], required : false)
8qt5opengl_dep = dependency('qt5', modules : ['OpenGL'], required : false)
9#FIXME; other platforms
10libgl = cc.find_library ('GL', required : false)
11
12qt_cxx_warn_less = cxx.get_supported_arguments(['-Wno-aggregate-return'])
13
14if qt5gui_dep.found()
15  subdir('videooverlay')
16  if libgl.found()
17    subdir('mousevideooverlay')
18    if qt5opengl_dep.found()
19      subdir('qglwidgetvideooverlay')
20      subdir('qglwtextureshare')
21    endif
22  endif
23endif
24