summaryrefslogtreecommitdiff
path: root/examples/QtSensors/QtSensors_grue/plugin/plugin.pro
diff options
context:
space:
mode:
authorWolfgang Beck <wolfgang.beck@nokia.com>2012-05-25 12:31:38 +1000
committerQt by Nokia <qt-info@nokia.com>2012-05-28 05:02:44 +0200
commit5effd1712aa6f1ae2359762cdadeb70198121f77 (patch)
treed7a48be78f910d7e957252b36a5dbf6f57e786bf /examples/QtSensors/QtSensors_grue/plugin/plugin.pro
parentdd14ea8acf97103868d6dfcafb7b19275e605e97 (diff)
downloadqtsensors-5effd1712aa6f1ae2359762cdadeb70198121f77.tar.gz
Update Examples using the same name conventions
e.g. Folder of example should start with QtSensorrs_ Example documentation title should start with QtSensors - images folder renamed to content Change-Id: I341fb8510ba3ad64068d786559e8d28af5d135c3 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Diffstat (limited to 'examples/QtSensors/QtSensors_grue/plugin/plugin.pro')
-rw-r--r--examples/QtSensors/QtSensors_grue/plugin/plugin.pro27
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/QtSensors/QtSensors_grue/plugin/plugin.pro b/examples/QtSensors/QtSensors_grue/plugin/plugin.pro
new file mode 100644
index 0000000..32e127f
--- /dev/null
+++ b/examples/QtSensors/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
+}
+