diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2022-08-30 09:24:52 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2022-08-31 07:56:45 +0300 |
commit | b21290a731876d6c26546b48ab339d36cb873745 (patch) | |
tree | bff2a3d3b728696a0f03b2efb2236202678a4252 /examples/qml/tutorials/extending-qml/chapter6-plugins | |
parent | 7ea0aa1a575f76a436d1ace7a9156fd88851bb1a (diff) |
examples: deploy qmldir for plugin example
We need to deploy qmldir to make the example work also for remote targets.
Pick-to: 6.4 6.3 6.2
Change-Id: Id0b7bf4a48bd163ddf5e44a5a68ca3edbbcc008e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/qml/tutorials/extending-qml/chapter6-plugins')
-rw-r--r-- | examples/qml/tutorials/extending-qml/chapter6-plugins/Charts/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/qml/tutorials/extending-qml/chapter6-plugins/Charts/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter6-plugins/Charts/CMakeLists.txt index 18deedb5f2..2cd3d1aed8 100644 --- a/examples/qml/tutorials/extending-qml/chapter6-plugins/Charts/CMakeLists.txt +++ b/examples/qml/tutorials/extending-qml/chapter6-plugins/Charts/CMakeLists.txt @@ -48,3 +48,5 @@ install(TARGETS chartsplugin BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" ) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qmldir + DESTINATION "${INSTALL_EXAMPLEDIR}") |