aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/doc/snippets/code/doc_src_qtqml.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/doc/snippets/code/doc_src_qtqml.cmake')
-rw-r--r--src/qml/doc/snippets/code/doc_src_qtqml.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qml/doc/snippets/code/doc_src_qtqml.cmake b/src/qml/doc/snippets/code/doc_src_qtqml.cmake
new file mode 100644
index 0000000000..c824b24eb9
--- /dev/null
+++ b/src/qml/doc/snippets/code/doc_src_qtqml.cmake
@@ -0,0 +1,4 @@
+#! [0]
+find_package(Qt6 COMPONENTS Qml REQUIRED)
+target_link_libraries(mytarget Qt::Qml)
+#! [0]