From c754f9076af88bffce90bec45011d56823401e75 Mon Sep 17 00:00:00 2001 From: groveer Date: Fri, 20 Jan 2023 13:27:20 +0800 Subject: [PATCH] docs: Qt compile_moc() parameter error "extra_arguments" should be "extra_args" --- docs/markdown/_include_qt_base.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/markdown/_include_qt_base.md b/docs/markdown/_include_qt_base.md index e0d48697b..46fc43a63 100644 --- a/docs/markdown/_include_qt_base.md +++ b/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)