Qt Positioning C++ Classes
The Positioning module provides positioning information via QML and C++ interfaces. More...
Classes
Represents an address of a QGeoLocation | |
Describes the parameters of an area or region to be monitored for proximity | |
Enables the detection of proximity changes for a specified set of coordinates | |
Defines a circular geographic area | |
Defines a geographical position on the surface of the Earth | |
Represents basic information about a location | |
Defines a geographic path | |
Defines a geographic polygon | |
Contains information gathered on a global position, direction and velocity at a particular point in time | |
Abstract base class for the distribution of positional updates | |
Factory class used as the plugin interface for external providers of positioning data | |
Extends QGeoPositionInfoSourceFactory, adding factory methods taking a parameters argument | |
Defines a rectangular geographic area | |
Contains basic information about a satellite | |
Abstract base class for the distribution of satellite information updates | |
Defines a geographic area | |
Positional information using a NMEA data source |
Detailed Description
To load the Qt Positioning module, add the following statement to your .qml files
import QtPositioning 5.11
For C++ projects include the header appropriate for the current use case, for example applications using routes may use
#include <QGeoCoordinate>
The .pro file should have the positioning keyword added
QT += positioning
See more in the Qt Positioning Overview.
© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. 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.