summaryrefslogtreecommitdiffstats
path: root/examples/sensors/grue/plugin/plugin.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sensors/grue/plugin/plugin.pro')
-rw-r--r--examples/sensors/grue/plugin/plugin.pro6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/sensors/grue/plugin/plugin.pro b/examples/sensors/grue/plugin/plugin.pro
index 7edda279..e198140d 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.