diff options
author | Eike Ziller <eike.ziller@qt.io> | 2017-05-26 12:49:12 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2017-05-29 06:50:57 +0000 |
commit | 20be7b007a4a635509580b1f126ccf7a15bb8004 (patch) | |
tree | 365a0946d95fbed745449732d47407d08653c101 /examples/sensors | |
parent | 9cd257f6c2285b82d9cce8c2b7c1a259f6a431e3 (diff) | |
download | qtsensors-20be7b007a4a635509580b1f126ccf7a15bb8004.tar.gz |
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 <lorn.potter@gmail.com>
Diffstat (limited to 'examples/sensors')
-rw-r--r-- | examples/sensors/sensor_explorer/import/import.pro | 4 |
1 files changed, 3 insertions, 1 deletions
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 |