Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Cannot find QGraphicsGeoMap class in Qt5
Qt 6.12 LTS is out! See what's new in the release blog

Cannot find QGraphicsGeoMap class in Qt5

Scheduled Pinned Locked Moved 3rd Party Software
1 Posts 1 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi All,

    in order to provide an application with a mapping service (I need to show the terrain map given the latitude and longitude), I have tried the following code:

    @
    QStringList services = QGeoServiceProvider::availableServiceProviders();
    QGeoServiceProvider service("nokia");
    QGeoMappingManager *manager = service.mappingManager();
    QGraphicsGeoMap *geoMap = new QGraphicsGeoMap(manager);
    geoMap->setCenter(QGeoCoordinate(52.75, -2.75));
    geoMap->setMapType(QGraphicsGeoMap::TerrainMap);
    ...
    @

    which is supposed to be working with Qt 4 extended with the "Mobility" module.

    I was able to successfully instantiate QGeoServiceProvider and QGeoMappingManager classes on Qt5 by adding "location" and "positioning" modules. QGraphicsGeoMap though seems not to be existent any longer on Qt5.2 or maybe replaced or located somewhere else.

    I really hope that somebody has already come across this kind of issue.

    Thank you in advance
    Giuseppe

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt
    • Unsolved