Qt Location Examples

These examples show a range of different uses for Qt Location, such as displaying a map within a QML user interface, implementing basic routing and place search, as well as integrating positioning data types.

These examples can work with any of the available geo services plugins. However, some plugins may require additional plugin parameters in order to function correctly. The default plugin used by these examples is Qt Location Open Street Map Plugin, which does not require any parameters. The Qt Location Mapbox GL Plugin was used for the screenshots and can also be used without any parameters, for development purposes, on the platforms it is available.

Map Viewer (QML)

The Map Viewer example shows how to display and interact with a map, search for an address, and find driving directions.

Minimal Map (QML)

The minimum code to display a map using Qt Quick.

Places (QML)

The Places example demonstrates how to search for Places and access related content.

Places List (QML)

The Places List example demonstrates how to search for and display a list of places using a ListView.

Places Map (QML)

The Places Map example demonstrates how to search for and display a list of places on a map using a MapItemView.

Plane Spotter (QML)

The Plane Spotter example demonstrates the tight integration of location and positioning data types into QML.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support