From aabc5820f0c300949dda9bdec07b0b9f92caff0b 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. Pick-to: 6.2 Task-number: QTBUG-92514 Change-Id: Id25f0a2826c1fa786547a27a579bf28e9e1bb5cd Reviewed-by: Alexandru Croitor --- examples/sensors/grue/plugin/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/sensors/grue/plugin/CMakeLists.txt b/examples/sensors/grue/plugin/CMakeLists.txt index 91b759a..31ac8e3 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.1