From 20be7b007a4a635509580b1f126ccf7a15bb8004 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Fri, 26 May 2017 12:49:12 +0200 Subject: Fix sensor explorer build on macOS The QML module is looked for next to the application binary, which on macOS is within the application bundle. Task-number: QTBUG-56669 Change-Id: I18abfcaf383fb075fec4d3158db58e7ea68ee280 Reviewed-by: Lorn Potter --- examples/sensors/sensor_explorer/import/import.pro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/sensors/sensor_explorer/import/import.pro b/examples/sensors/sensor_explorer/import/import.pro index 6ba501c..49a437e 100644 --- a/examples/sensors/sensor_explorer/import/import.pro +++ b/examples/sensors/sensor_explorer/import/import.pro @@ -2,7 +2,9 @@ TEMPLATE = lib CONFIG += plugin TARGET = $$qtLibraryTarget(declarative_explorer) -DESTDIR = ../Explorer + +macos: DESTDIR = ../sensor_explorer.app/Contents/MacOS/Explorer +else: DESTDIR = ../Explorer QT += qml sensors -- cgit v1.2.1