aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2020-11-02 09:08:42 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2020-11-11 23:40:13 +0100
commit20641edb3770b5293db5645c8b769347b69d3c65 (patch)
tree449fde92c13632e814d4c273488ce515846b5180 /examples
parentb945e1f6f71426099c54e51c5189cb4fbb9d85f4 (diff)
Make text example work in static CMake builds
Task-number: QTBUG-87702 Task-number: QTBUG-86947 Change-Id: I9dd1b6ca633be60977109acf6b00123d4492b726 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/quick/text/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/quick/text/CMakeLists.txt b/examples/quick/text/CMakeLists.txt
index 20d4228bcf..f4e7e7de38 100644
--- a/examples/quick/text/CMakeLists.txt
+++ b/examples/quick/text/CMakeLists.txt
@@ -137,6 +137,8 @@ qt6_add_resources(text "shared"
${shared_resource_files}
)
+qt_import_qml_plugins(text) # special case
+
install(TARGETS text
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"