From 8065e461421ea17a942ea09d67aaa053a136a54e Mon Sep 17 00:00:00 2001 From: Jake Petroules Date: Fri, 30 Sep 2016 18:33:12 -0700 Subject: Port the iOS sensors plugin to the other UIKit platforms MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit watchOS supports accelerometer, gyroscope, and magnetometer. tvOS supports only the proximity sensor. No sensors are available on macOS yet, but the plugin is still built there because many of the underlying APIs are available cross platform and so some macOS sensors can appear here in the future. Change-Id: I1668d81f09c745e60c1906be621a74f969841566 Reviewed-by: Mike Krus Reviewed-by: Tor Arne Vestbø --- src/plugins/sensors/ios/iosmagnetometer.mm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/sensors/ios/iosmagnetometer.mm') diff --git a/src/plugins/sensors/ios/iosmagnetometer.mm b/src/plugins/sensors/ios/iosmagnetometer.mm index 98bef2d..bfbe6e6 100644 --- a/src/plugins/sensors/ios/iosmagnetometer.mm +++ b/src/plugins/sensors/ios/iosmagnetometer.mm @@ -40,6 +40,8 @@ #include "iosmotionmanager.h" #include "iosmagnetometer.h" +#import + QT_BEGIN_NAMESPACE char const * const IOSMagnetometer::id("ios.magnetometer"); -- cgit v1.2.1