summaryrefslogtreecommitdiff
path: root/docs/markdown/_include_qt_base.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/_include_qt_base.md')
-rw-r--r--docs/markdown/_include_qt_base.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/markdown/_include_qt_base.md b/docs/markdown/_include_qt_base.md
index adc6f7c6f..00d1f8344 100644
--- a/docs/markdown/_include_qt_base.md
+++ b/docs/markdown/_include_qt_base.md
@@ -28,6 +28,11 @@ It takes no positional arguments, and the following keyword arguments:
- `extra_args` string[]: Extra arguments to pass directly to `qt-uic`
- `method` string: The method to use to detect Qt, see `dependency()` for more
information.
+ - `preserve_paths` bool: *Since 1.4.0*. If `true`, 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).
## compile_moc
@@ -49,6 +54,11 @@ It takes no positional arguments, and the following keyword arguments:
- `dependencies`: dependency objects whose include directories are used by moc.
- `include_directories` (string | IncludeDirectory)[]: A list of `include_directory()`
objects used when transpiling the .moc files
+ - `preserve_paths` bool: *New in 1.4.0*. If `true`, 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).
## preprocess
@@ -78,6 +88,11 @@ This method takes the following keyword arguments:
- `rcc_extra_arguments` string[]: any additional arguments to `rcc`. Since v0.49.0.
- `dependencies` Dependency[]: dependency objects needed by moc. Available since v0.48.0.
- `sources`: a list of extra sources, which are added to the output unchanged. Deprecated in 0.59.0.
+ - `preserve_paths` bool: *New in 1.4.0*. If `true`, 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).
It returns an array of targets and sources to pass to a compilation target.