meson: add qt_qml_debug option

This commit is contained in:
Pierre Lamot 2023-01-09 12:00:23 +01:00 committed by Steve Lhomme
parent 0a5f544457
commit 55bfaba3af
2 changed files with 9 additions and 0 deletions

View File

@ -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',

View File

@ -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],