Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Cannot find QGraphicsGeoMap class in Qt5
giu75rm last edited by
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();
QGeoMappingManager *manager = service.mappingManager();
QGraphicsGeoMap *geoMap = new QGraphicsGeoMap(manager);
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