mirror of https://code.videolan.org/videolan/vlc
meson: add qt_qml_debug option
This commit is contained in:
parent
0a5f544457
commit
55bfaba3af
|
@ -88,6 +88,11 @@ option('qt',
|
|||
value : 'auto',
|
||||
description : 'Enable/disable Qt support')
|
||||
|
||||
option('qt_qml_debug',
|
||||
type: 'boolean',
|
||||
value: false,
|
||||
description: 'Enable/disable Qt QML debugger')
|
||||
|
||||
option('dbus',
|
||||
type : 'feature',
|
||||
value : 'auto',
|
||||
|
|
|
@ -562,6 +562,10 @@ if qt5_dep.found()
|
|||
endif
|
||||
endif
|
||||
|
||||
if get_option('qt_qml_debug')
|
||||
qt_extra_flags += '-DQT_QML_DEBUG'
|
||||
endif
|
||||
|
||||
vlc_modules += {
|
||||
'name' : 'qt',
|
||||
'sources' : [qt5pre_files, qt_sources, some_sources],
|
||||
|
|
Loading…
Reference in New Issue