Qt Positioning C++ Classes

The Positioning module provides positioning information via QML and C++ interfaces. More...

Classes

QGeoAddress

Represents an address of a QGeoLocation

QGeoAreaMonitorInfo

Describes the parameters of an area or region to be monitored for proximity

QGeoAreaMonitorSource

Enables the detection of proximity changes for a specified set of coordinates

QGeoCircle

Defines a circular geographic area

QGeoCoordinate

Defines a geographical position on the surface of the Earth

QGeoLocation

Represents basic information about a location

QGeoPositionInfo

Contains information gathered on a global position, direction and velocity at a particular point in time

QGeoPositionInfoSource

Abstract base class for the distribution of positional updates

QGeoPositionInfoSourceFactory

Factory class used as the plugin interface for external providers of positioning data

QGeoRectangle

Defines a rectangular geographic area

QGeoSatelliteInfo

Contains basic information about a satellite

QGeoSatelliteInfoSource

Abstract base class for the distribution of satellite information updates

QGeoShape

Defines a geographic area

QNmeaPositionInfoSource

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.2

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.