5 if have_cxx and build_gstgl and gstgl_dep.found()
6 qt5_mod = import('qt5')
7 qt5qml_deps = dependency('qt5', modules : ['Core', 'Gui', 'Widgets', 'Qml', 'Quick'], required: false)
9 # FIXME Add a way to get that information out of the qt5 module
10 moc = find_program('moc-qt5', 'moc', required : false)
11 if qt5qml_deps.found() and moc.found()
12 qt_preprocessed = qt5_mod.preprocess(qresources : 'qmlsrc.qrc')
13 executable('qmlsrc', sources, qt_preprocessed,
14 dependencies : [gst_dep, qt5qml_deps],
15 c_args : gst_plugins_good_args,
16 include_directories : [configinc],