I am developing an application where I am in need of adding the Google map into our application. I am using Qt with UI design and I am not using QML. Is there any API for Q
Using QWebView might probably work, but I have no idea if then interaction can take place between Google Maps and your own code.
My project is based on the code of qt-google-maps. You can still find it at the Google Code Archive:
I remember that I had to change a little bit because the code was based on version 2 of the Google Maps API, and now only version 3 was supported. But even that was quite easy. I see that the "new" code now incorporates version 3 as well.
On GitHub I also found a project that uses the code, but made a QT5-version of it and it has been active until one year ago, so probably you have more chances to find working code there.
On my personal GitHub, I decided to continue using QT4 and the interaction with Google Maps is running pretty ok. Here is the latest version, but the code is probably a bit messy and incomprehensible due to lack of time to work on it in more depth (sorry for that), so best to start from this commit. It has the basic version of qt-google-maps from 2012, updated by me for Google Maps APIv3 (so there will be some differences with the first link that I posted here), and not too much of my personal code in it.
Make sure you read the compile instructions.