docs: Qt compile_moc() parameter error

"extra_arguments" should be "extra_args"
pull/11277/head
groveer 2 years ago committed by GitHub
parent 7c1f53f3b1
commit c754f9076a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/markdown/_include_qt_base.md

@ -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)

Loading…
Cancel
Save