Many devices support position determination, either through hardware such as a Global Positioning System (GPS) receiver or through network resources such as Internet Protocol (IP) geolocation. Similar to the other sensor support, this facility was introduced to Qt in Qt 4.x through the Qt Mobility module and is now supported through the Qt Positioning module. It's supported on many mobile devices, including Android.
To use the Qt Positioning module, you need to include the positioning keyword in your .pro file, as follows:
QT += quick network positioning
The Qt Positioning module provides three types of positioning; you can access these by importing the QtPositioning module:
- PositionSource: This provides position ...