diff options
author | Leif Middelschulte <leif.middelschulte@gmail.com> | 2017-10-24 10:05:26 +0200 |
---|---|---|
committer | Leif Middelschulte <leif.middelschulte@gmail.com> | 2017-10-25 21:09:16 +0200 |
commit | 050a56ad47fef8f8fbc66a6b3465bd49697bef94 (patch) | |
tree | 9512641533b0329e94895d518d2fe75bf0421f49 /docs/markdown/Qt5-module.md | |
parent | 14e7b0af25c90ed78b9309fd122d34b24d69fc0e (diff) | |
download | meson-050a56ad47fef8f8fbc66a6b3465bd49697bef94.zip meson-050a56ad47fef8f8fbc66a6b3465bd49697bef94.tar.gz meson-050a56ad47fef8f8fbc66a6b3465bd49697bef94.tar.bz2 |
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).
Diffstat (limited to 'docs/markdown/Qt5-module.md')
-rw-r--r-- | docs/markdown/Qt5-module.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/markdown/Qt5-module.md b/docs/markdown/Qt5-module.md index a8ad73d..613e5c1 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') |