diff options
| author | Charles Brunet <charles.brunet@optelgroup.com> | 2023-05-17 16:29:39 -0400 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2024-02-12 15:49:55 -0800 |
| commit | f4f50db44155a4e050c58a74849ba8859e5daf51 (patch) | |
| tree | c42084d16820c0326c40d7df983958455936dc96 /docs/markdown/snippets | |
| parent | 6c2c4612cc8f141e27ab2dd8ccacd92894c29552 (diff) | |
| download | meson-f4f50db44155a4e050c58a74849ba8859e5daf51.tar.gz | |
qt: add preserve_paths keyword to functions
This allow to generate ui and moc under subdirectories,
as this is allowed with generic generators.
Diffstat (limited to 'docs/markdown/snippets')
| -rw-r--r-- | docs/markdown/snippets/qt_preserve_path_from.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/markdown/snippets/qt_preserve_path_from.md b/docs/markdown/snippets/qt_preserve_path_from.md new file mode 100644 index 000000000..1a0923a72 --- /dev/null +++ b/docs/markdown/snippets/qt_preserve_path_from.md @@ -0,0 +1,10 @@ +## Added `preserve_paths` keyword argument to qt module functions. + +In `qt4`, `qt5`, and `qt6` modules, `compile_ui`, `compile_moc`, and +`preprocess` functions now have a `preserve_paths` keyword argument. + +If `'true`, it specifies that the output files need to maintain their directory +structure inside the target temporary 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). |
