列表 Qt Positioning examples demonstrating how to use Positioning API from C++ and QML.
Log File Position Source (C++) | Logfile Position Source shows how to create and work with a custom position source. It can be useful for simulating GPS data, or when the data is received in some custom format. |
SatelliteInfo (QML) | The SatelliteInfo example shows the available satellites using Sky View or RSSI View and the user's current position. The satellites currently contributing to the GPS fix are marked as pink. |
Weather Info (C++/QML) | The Weather Info example shows how to use the user's current position to retrieve local content from a web service in a C++ plugin for QML. |