QGeoAddress Class

The QGeoAddress class represents an address of a QGeoLocation. More...

Header: #include <QGeoAddress>
qmake: QT += positioning
Since: Qt 5.2

This class was introduced in Qt 5.2.

Detailed Description

The address' attributes are normalized to US feature names and can be mapped to the local feature levels (for example State matches "Bundesland" in Germany).

The address contains a text() for displaying purposes and additional properties to access the components of an address:

  • QGeoAddress::country()
  • QGeoAddress::countryCode()
  • QGeoAddress::state()
  • QGeoAddress::city()
  • QGeoAddress::district()
  • QGeoAddress::street()
  • QGeoAddress::postalCode()