diff options
author | Eike Ziller <eike.ziller@qt.io> | 2017-05-26 14:06:43 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2017-05-29 06:50:46 +0000 |
commit | 9cd257f6c2285b82d9cce8c2b7c1a259f6a431e3 (patch) | |
tree | 8631a2604642947c80d0bb65f3ceda676ccd2d2b /examples/sensors/grue/plugin/plugin.pro | |
parent | 3835caabad9bb192e57e37c83af08c580269b9d9 (diff) | |
download | qtsensors-9cd257f6c2285b82d9cce8c2b7c1a259f6a431e3.tar.gz |
Fix grue sensor example building on macOS
Task-number: QTBUG-33875
Change-Id: Idd72b689aaae727df77daecb616d5c47b9bb809c
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'examples/sensors/grue/plugin/plugin.pro')
-rw-r--r-- | examples/sensors/grue/plugin/plugin.pro | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/sensors/grue/plugin/plugin.pro b/examples/sensors/grue/plugin/plugin.pro index 7edda27..e198140 100644 --- a/examples/sensors/grue/plugin/plugin.pro +++ b/examples/sensors/grue/plugin/plugin.pro @@ -5,10 +5,10 @@ PLUGIN_TYPE = sensors QT = core sensors -DESTDIR = ../$$PLUGIN_TYPE +macos: DESTDIR = ../grue_app.app/Contents/MacOS/$$PLUGIN_TYPE +else: DESTDIR = ../$$PLUGIN_TYPE -INCLUDEPATH += $$PWD/../lib -LIBS += -L$$OUT_PWD/.. -lgruesensor +include(../lib/lib.pri) # Shared gruesensor library will be installed in parent directory. # Define rpath so that this plugin will know where to look for it. |