From 7c68090a33cdf3e8cc96ee98529da89756c014e4 Mon Sep 17 00:00:00 2001 From: Pierre Lamot Date: Wed, 5 Jun 2024 10:11:59 +0200 Subject: qt module: allow moc to generate json introspection file --- docs/markdown/Qt6-module.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/markdown/Qt6-module.md b/docs/markdown/Qt6-module.md index 7b6f94715..9e4e01637 100644 --- a/docs/markdown/Qt6-module.md +++ b/docs/markdown/Qt6-module.md @@ -69,6 +69,8 @@ It takes no positional arguments, and the following keyword arguments: directory. For instance, when a file called `subdir/one.input` is processed it generates a file `{target private directory}/subdir/one.out` when `true`, and `{target private directory}/one.out` when `false` (default). + - `output_json` bool: *New in 1.7.0*. If `true`, generates additionnaly a + JSON representation which may be used by external tools such as qmltyperegistrar ## preprocess @@ -111,6 +113,8 @@ This method takes the following keyword arguments: directory. For instance, when a file called `subdir/one.input` is processed it generates a file `{target private directory}/subdir/one.out` when `true`, and `{target private directory}/one.out` when `false` (default). + - `moc_output_json` bool: *New in 1.7.0*. If `true`, generates additionnaly a + JSON representation which may be used by external tools such as qmltyperegistrar It returns an array of targets and sources to pass to a compilation target. -- cgit v1.2.3