aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-07-21 11:32:27 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-08-18 19:47:10 -0700
commit42d27f05c6a07f8c81e101a4f4c28f24b9e13f04 (patch)
tree92c427d0776e6c236f50fdab129cf970473a9d15
parenta7f3703440b5aaba0ae1bded8629a3af98ea7e82 (diff)
downloadmeson-42d27f05c6a07f8c81e101a4f4c28f24b9e13f04.zip
meson-42d27f05c6a07f8c81e101a4f4c28f24b9e13f04.tar.gz
meson-42d27f05c6a07f8c81e101a4f4c28f24b9e13f04.tar.bz2
docs: add snippet for qt compile_ method generated inputs
-rw-r--r--docs/markdown/snippets/qt_module_generated_inputs.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/markdown/snippets/qt_module_generated_inputs.md b/docs/markdown/snippets/qt_module_generated_inputs.md
new file mode 100644
index 0000000..f3bc695
--- /dev/null
+++ b/docs/markdown/snippets/qt_module_generated_inputs.md
@@ -0,0 +1,13 @@
+## The qt modules now accept generated outputs as inputs for qt.compile_*
+
+This means you can uset `custom_target`, custom_target indecies
+(`custom_target[0]`, for example), or the output of `generator.process` as
+inputs to the various `qt.compile_*` methods.
+
+```meson
+qt = import('qt5')
+
+ct = custom_target(...)
+
+out = qt.compile_ui(sources : ct)
+```