<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qtsensors.qdoc --> <title>Qt Sensors 5.9</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td >Qt 5.9</td><td >Qt Sensors</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"> <div class="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level1"><a href="#information-for-application-writers">Information for Application Writers</a></li> <li class="level1"><a href="#information-for-backend-implementors">Information for Backend Implementors</a></li> <li class="level1"><a href="#compatibility-with-qtmobility-sensors-api">Compatibility with QtMobility Sensors API</a></li> <li class="level1"><a href="#platform-specific-information">Platform-specific Information</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">Qt Sensors</h1> <span class="subtitle"></span> <!-- $$$qtsensors-index.html-description --> <div class="descr"> <a name="details"></a> <p>The Qt Sensors API provides access to sensor hardware via QML and C++ interfaces. The Qt Sensors API also provides a motion gesture recognition API for devices.</p> <p>Currently the API is supported on Android, iOS, <a href="https://sailfishos.org">SailFish</a> and WinRT.</p> <a name="information-for-application-writers"></a> <h2 id="information-for-application-writers">Information for Application Writers</h2> <p>Applications can access Qt Sensors using QML or C++.</p> <div class="table"><table class="generic"> <tr valign="top" class="odd"><td ><a href="qtsensors-qmlmodule.html">QML Types</a></td><td >Information about the Qt Sensors QML API</td></tr> <tr valign="top" class="even"><td ><a href="qtsensors-module.html">C++ Classes</a></td><td >Information about the Qt Sensors C++ API</td></tr> <tr valign="top" class="odd"><td ><a href="qtsensors-cpp.html">Qt Sensors C++ Overview</a></td><td >High-level information on how to use the C++ API.</td></tr> <tr valign="top" class="even"><td ><a href="qtsensorgestures-cpp.html">Sensor Gestures C++ Overview</a></td><td >High-level information specific to sensor gestures</td></tr> <tr valign="top" class="odd"><td ><a href="qtsensors-examples.html">Examples</a></td><td >Examples demonstrating the use of the Qt Sensors APIs</td></tr> </table></div> <a name="information-for-backend-implementors"></a> <h2 id="information-for-backend-implementors">Information for Backend Implementors</h2> <div class="table"><table class="generic"> <tr valign="top" class="odd"><td ><a href="sensors-backend-topics.html">Backend</a></td><td >Information about the Qt Sensors back end</td></tr> <tr valign="top" class="even"><td ><a href="qtsensors-grue-example.html">Qt Sensors - Grue Sensor Example</a></td><td >The Qt Sensors - Grue Sensor Example demonstrates creation of a sensor backend</td></tr> </table></div> <a name="compatibility-with-qtmobility-sensors-api"></a> <h2 id="compatibility-with-qtmobility-sensors-api">Compatibility with QtMobility Sensors API</h2> <p>Qt Sensors 5.0 (the initial release) is generally expected to be source compatible with QtMobility Sensors 1.2.</p> <div class="table"><table class="generic"> <tr valign="top" class="odd"><td ><a href="qtsensors-porting.html">Porting Guide</a></td><td >Information about the steps needed to port applications to the Qt Sensors API.</td></tr> </table></div> <a name="platform-specific-information"></a> <h2 id="platform-specific-information">Platform-specific Information</h2> <div class="table"><table class="generic"> <tr valign="top" class="odd"><td ><a href="compatmap.html">Compatibility Map</a></td><td >Compatibility map of all supported platforms.</td></tr> <tr valign="top" class="even"><td ><a href="genericbackend.html">Generic Backend</a></td><td >Information about the generic sensor backend.</td></tr> <tr valign="top" class="odd"><td ><a href="senorfwbackend.html">Sensorfw Backend</a></td><td >Information about the Sensorfw sensor backend.</td></tr> </table></div> </div> <!-- @@@qtsensors-index.html --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. </p> </div> </body> </html>