From 82e94fb013aaca05c50cdf112b2bcf92ecee499f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tama=CC=81s=20Martinec?= Date: Fri, 27 Aug 2021 11:04:51 +0300 Subject: 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 (cherry picked from commit aabc5820f0c300949dda9bdec07b0b9f92caff0b) Reviewed-by: Qt Cherry-pick Bot --- examples/sensors/grue/plugin/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/sensors/grue/plugin') 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() -- cgit v1.2.3