summaryrefslogtreecommitdiffstats
path: root/src/plugins/sensors/winrt/winrt.pro
diff options
context:
space:
mode:
authorAndrew Knight <andrew.knight@digia.com>2014-02-15 09:44:41 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-16 18:35:48 +0100
commit2b67b50af18bb2a17ff10d5a37abfd85fc7e9d01 (patch)
treec4c388ce1be1d24a4354440f3a5145400c84aa51 /src/plugins/sensors/winrt/winrt.pro
parent06b5371b87528e92cff015ee0465677840e65120 (diff)
Initial sensors backend for WinRT/Windows Phonev5.3.0-alpha1
This provides the sensor plugin with support for accelerometer, gyroscope, rotation sensor, orientation sensor, compass, and ambient light sensor. Change-Id: Ic91a6cef98e4011858552c5cd6407b494579fe17 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/plugins/sensors/winrt/winrt.pro')
-rw-r--r--src/plugins/sensors/winrt/winrt.pro31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/plugins/sensors/winrt/winrt.pro b/src/plugins/sensors/winrt/winrt.pro
new file mode 100644
index 00000000..494e1bf0
--- /dev/null
+++ b/src/plugins/sensors/winrt/winrt.pro
@@ -0,0 +1,31 @@
+TARGET = qtsensors_winrt
+QT = sensors core
+
+PLUGIN_TYPE = sensors
+load(qt_plugin)
+
+HEADERS += \
+ winrtaccelerometer.h \
+ winrtcommon.h \
+ winrtcompass.h \
+ winrtrotationsensor.h \
+ winrtgyroscope.h
+
+SOURCES += \
+ main.cpp \
+ winrtaccelerometer.cpp \
+ winrtcommon.cpp \
+ winrtcompass.cpp \
+ winrtrotationsensor.cpp \
+ winrtgyroscope.cpp
+
+!winphone {
+ HEADERS += \
+ winrtambientlightsensor.h \
+ winrtorientationsensor.h
+ SOURCES += \
+ winrtambientlightsensor.cpp \
+ winrtorientationsensor.cpp
+}
+
+OTHER_FILES = plugin.json