summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/qt_has_tools.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/snippets/qt_has_tools.md')
-rw-r--r--docs/markdown/snippets/qt_has_tools.md10
1 files changed, 0 insertions, 10 deletions
diff --git a/docs/markdown/snippets/qt_has_tools.md b/docs/markdown/snippets/qt_has_tools.md
deleted file mode 100644
index 3569ecb96..000000000
--- a/docs/markdown/snippets/qt_has_tools.md
+++ /dev/null
@@ -1,10 +0,0 @@
-## Added `has_tools` method to qt module
-
-It should be used to compile optional Qt code:
-```meson
-qt5 = import('qt5')
-if qt5.has_tools(required: get_option('qt_feature'))
- moc_files = qt5.preprocess(...)
- ...
-endif
-```