summaryrefslogtreecommitdiffstats
path: root/examples/demos/documentviewer/plugins/txtviewer
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2024-01-23 12:40:50 +0200
committerSamuli Piippo <samuli.piippo@qt.io>2024-01-25 20:59:31 +0200
commit247b3640e29d631dad01097b0aeb0eb3b5bf18a6 (patch)
treedd43acb4f51fb10e29f271badd3bd628f7f33b57 /examples/demos/documentviewer/plugins/txtviewer
parent5716c4ed939ea762aa3821e77271fe1eebd24c80 (diff)
CMake: fix installation of demos projects
Projects need install instructions to be usable on embedded platforms. Fix existing instructions to put files into correct places. Fixes: QTBUG-112024 Change-Id: I6a3d84edc1c67281d5497e99144c159faf0f783c Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Kimmo Ollila <kimmo.ollila@qt.io> (cherry picked from commit 22315147d060ac6539eadd242377112fb39e42a7) Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'examples/demos/documentviewer/plugins/txtviewer')
-rw-r--r--examples/demos/documentviewer/plugins/txtviewer/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/demos/documentviewer/plugins/txtviewer/CMakeLists.txt b/examples/demos/documentviewer/plugins/txtviewer/CMakeLists.txt
index 07272b780..bbc49fe2c 100644
--- a/examples/demos/documentviewer/plugins/txtviewer/CMakeLists.txt
+++ b/examples/demos/documentviewer/plugins/txtviewer/CMakeLists.txt
@@ -28,8 +28,8 @@ if(TARGET Qt6::PrintSupport)
target_link_libraries(txtviewer PRIVATE Qt6::PrintSupport)
endif()
-install(TARGETS jsonviewer
- BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}/plugins"
- LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}/plugins"
+install(TARGETS txtviewer
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
)