Qt Positioning C++ Classes▲
The Positioning module provides positioning information via QML and C++ interfaces.
Classes▲
-
QGeoAddress: The QGeoAddress class represents an address of a QGeoLocation.
-
QGeoAreaMonitorInfo: The QGeoAreaMonitorInfo class describes the parameters of an area or region to be monitored for proximity.
-
QGeoAreaMonitorSource: The QGeoAreaMonitorSource class enables the detection of proximity changes for a specified set of coordinates.
-
QGeoCircle: The QGeoCircle class defines a circular geographic area.
-
QGeoCoordinate: The QGeoCoordinate class defines a geographical position on the surface of the Earth.
-
QGeoLocation: The QGeoLocation class represents basic information about a location.
-
QGeoPath: The QGeoPath class defines a geographic path.
-
QGeoPolygon: The QGeoPolygon class defines a geographic polygon.
-
QGeoPositionInfo: The QGeoPositionInfo class contains information gathered on a global position, direction and velocity at a particular point in time.
-
QGeoPositionInfoSource: The QGeoPositionInfoSource class is an abstract base class for the distribution of positional updates.
-
QGeoPositionInfoSourceFactory: The QGeoPositionInfoSourceFactory class is a factory class used as the plugin interface for external providers of positioning data.
-
QGeoRectangle: The QGeoRectangle class defines a rectangular geographic area.
-
QGeoSatelliteInfo: The QGeoSatelliteInfo class contains basic information about a satellite.
-
QGeoSatelliteInfoSource: The QGeoSatelliteInfoSource class is an abstract base class for the distribution of satellite information updates.
-
QGeoShape: The QGeoShape class defines a geographic area.
-
QNmeaPositionInfoSource: The QNmeaPositionInfoSource class provides 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.