diff options
Diffstat (limited to 'examples/QtSensors/grue/plugin/plugin.pro')
-rw-r--r-- | examples/QtSensors/grue/plugin/plugin.pro | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/QtSensors/grue/plugin/plugin.pro b/examples/QtSensors/grue/plugin/plugin.pro new file mode 100644 index 0000000..32e127f --- /dev/null +++ b/examples/QtSensors/grue/plugin/plugin.pro @@ -0,0 +1,27 @@ +TEMPLATE = lib +CONFIG += plugin +TARGET = $$qtLibraryTarget(qtsensors_grue) +PLUGIN_TYPE = sensors + +QT = core sensors + +INCLUDEPATH += $$PWD/../lib +LIBS += -L$$OUT_PWD/../lib -lgruesensor + +HEADERS += gruesensorimpl.h\ + +SOURCES += gruesensorimpl.cpp\ + main.cpp\ + +target.path=$$[QT_INSTALL_PLUGINS]/sensors +INSTALLS += target + +OTHER_FILES += \ + plugin.json + +MT_SYSROOT=$$(MT_SYSROOT) +!isEmpty(MT_SYSROOT):EXAMPLES_PREFIX=/opt/mt/applications +!isEmpty(EXAMPLES_PREFIX) { + target.path = $$EXAMPLES_PREFIX/com.nokia.mt.grue/plugins/sensors +} + |