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/snippets/qt5-moc_extra_arguments.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 docs/markdown/snippets/qt5-moc_extra_arguments.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/qt5-moc_extra_arguments.md b/docs/markdown/snippets/qt5-moc_extra_arguments.md new file mode 100644 index 0000000..957c3c7 --- /dev/null +++ b/docs/markdown/snippets/qt5-moc_extra_arguments.md @@ -0,0 +1,8 @@ +# Adds support for additional Qt5-Module keyword `moc_extra_arguments` + +When `moc`-ing sources, the `moc` tool does not know about any +preprocessor macros. The generated code might not match the input +files when the linking with the moc input sources happens. + +This amendment allows to specify a a list of additional arguments +passed to the `moc` tool. They are called `moc_extra_arguments`. \ No newline at end of file -- cgit v1.1