diff options
author | Lorn Potter <lorn.potter@nokia.com> | 2012-07-05 14:38:37 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-18 05:53:50 +0200 |
commit | 359d4411b22801e91978c121cd77bc440ee55e7e (patch) | |
tree | ccb53a5ef7092c19563f0ebde6cacc6eb03dcf57 /src/plugins/sensors/linux/linux.pro | |
parent | a72d15c8a7ca8b89b2160f4e48af5cf69e2a31e7 (diff) | |
download | qtsensors-359d4411b22801e91978c121cd77bc440ee55e7e.tar.gz |
add linux sys accelerometer reader backend
Most of this code comes from QtMobility n900 sensors backend.
Change-Id: Iacbf9363ac8fc4b8b737dc857766f02655374db7
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Diffstat (limited to 'src/plugins/sensors/linux/linux.pro')
-rw-r--r-- | src/plugins/sensors/linux/linux.pro | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/plugins/sensors/linux/linux.pro b/src/plugins/sensors/linux/linux.pro new file mode 100644 index 0000000..c0059ec --- /dev/null +++ b/src/plugins/sensors/linux/linux.pro @@ -0,0 +1,18 @@ +load(qt_build_config) + +TARGET = qtsensors_linuxsys +QT = core sensors + +load(qt_plugin) + +DESTDIR = $$QT.sensors.plugins/sensors + +OTHER_FILES = plugin.json + +LIBS += -lrt +HEADERS += linuxsysaccelerometer.h +SOURCES += linuxsysaccelerometer.cpp \ +main.cpp + +target.path += $$[QT_INSTALL_PLUGINS]/sensors +INSTALLS += target |