summaryrefslogtreecommitdiff
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.pro12
1 files changed, 7 insertions, 5 deletions
diff --git a/examples/sensors/grue/plugin/plugin.pro b/examples/sensors/grue/plugin/plugin.pro
index 9045353..8aa87ae 100644
--- a/examples/sensors/grue/plugin/plugin.pro
+++ b/examples/sensors/grue/plugin/plugin.pro
@@ -5,21 +5,23 @@ PLUGIN_TYPE = sensors
QT = core sensors
+DESTDIR = ../$$PLUGIN_TYPE
+
INCLUDEPATH += $$PWD/../lib
-LIBS += -L$$OUT_PWD/../lib -lgruesensor
+LIBS += -L$$OUT_PWD/.. -lgruesensor
# Shared gruesensor library will be installed in parent directory.
# Define rpath so that this plugin will know where to look for it.
unix:!mac: QMAKE_LFLAGS += -Wl,-rpath,\\\$\$ORIGIN/..
-HEADERS += gruesensorimpl.h\
+HEADERS += gruesensorimpl.h
-SOURCES += gruesensorimpl.cpp\
- main.cpp\
+SOURCES += gruesensorimpl.cpp \
+ main.cpp
# Install the plugin under Grue example directory
-target.path=$$[QT_INSTALL_EXAMPLES]/qtsensors/grue/$$PLUGIN_TYPE
+target.path=$$[QT_INSTALL_EXAMPLES]/sensors/grue/$$PLUGIN_TYPE
INSTALLS += target
OTHER_FILES += \