docs: Qt compile_moc() parameter error
"extra_arguments" should be "extra_args"
@@ -145,7 +145,7 @@ qt5 = import('qt5')
qt5_dep = dependency('qt5', modules: ['Core', 'Gui'])
inc = include_directories('includes')
moc_files = qt5.compile_moc(headers : 'myclass.h',
- extra_arguments: ['-DMAKES_MY_MOC_HEADER_COMPILE'],
+ extra_args: ['-DMAKES_MY_MOC_HEADER_COMPILE'],
include_directories: inc,
dependencies: qt5_dep)
translations = qt5.compile_translations(ts_files : 'myTranslation_fr.ts', build_by_default : true)
