summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTamás Martinec <tamas.martinec@symbio.com>2021-08-27 11:04:51 +0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-08-27 15:12:09 +0000
commit82e94fb013aaca05c50cdf112b2bcf92ecee499f (patch)
treee6f68e39be204e47d6e0dd3440aa9684964be09a
parent32d68e08a2fc3e09115b4885bf8c565913ce7074 (diff)
QtSensors: Fix plugin loading for the Grue example on macOS
The macOS specific plugin lib target path was fixed. Task-number: QTBUG-92514 Change-Id: Id25f0a2826c1fa786547a27a579bf28e9e1bb5cd Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit aabc5820f0c300949dda9bdec07b0b9f92caff0b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--examples/sensors/grue/plugin/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sensors/grue/plugin/CMakeLists.txt b/examples/sensors/grue/plugin/CMakeLists.txt
index 91b759a0..31ac8e3c 100644
--- a/examples/sensors/grue/plugin/CMakeLists.txt
+++ b/examples/sensors/grue/plugin/CMakeLists.txt
@@ -41,7 +41,7 @@ endif()
if(APPLE AND QT6_IS_SHARED_LIBS_BUILD)
set_target_properties(qtsensors_grue PROPERTIES
- LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/../grue_app.app/Contents/MacOS/../sensors
+ LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/../grue_app.app/Contents/Plugins/sensors
)
endif()