From 050a56ad47fef8f8fbc66a6b3465bd49697bef94 Mon Sep 17 00:00:00 2001 From: Leif Middelschulte Date: Tue, 24 Oct 2017 10:05:26 +0200 Subject: Qt5-Module: Add `moc_extra_arguments` keyword support. This commit adds support for an additional `moc_extra_arguments` keyword. It becomes especially handy, when `moc`-ed sources conditionally provide `slots`, depending on compile time macros (i.e. defines). --- docs/markdown/Qt5-module.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/markdown/Qt5-module.md') diff --git a/docs/markdown/Qt5-module.md b/docs/markdown/Qt5-module.md index a8ad73d63..613e5c1f2 100644 --- a/docs/markdown/Qt5-module.md +++ b/docs/markdown/Qt5-module.md @@ -5,11 +5,11 @@ tools and steps required for Qt. The module has one method. ## preprocess -This method takes five keyword arguments, `moc_headers`, -`moc_sources`, `ui_files` and `qresources` which define the files that -require preprocessing with `moc`, `uic` and `rcc` and 'include_directories' which might be needed by moc. It returns an -opaque object that should be passed to a main build target. A simple -example would look like this: +This method takes six keyword arguments, `moc_headers`, `moc_sources`, `ui_files`, `qresources` +and `moc_extra_arguments` which define the files that require preprocessing with `moc`, `uic` +and `rcc` and 'include_directories' which might be needed by moc as well as (optional) +additional arguments. It returns an opaque object that should be passed to a main build target. +A simple example would look like this: ```meson qt5 = import('qt5') -- cgit v1.2.3