December 9, 2011

Sinapse Sinapse
Lab Rat
8 posts

QWebView and google maps


Hi people,
i need to show a google map with fixed coordinates in my desktop application.
I tried to read the documentation and follow this topic:

but the code is missing.
I need to implement the same functionality.

Can you give me other references about this because i tried to search on QtCreator site and i didn’t find nothing useful.

Thanks in advance.

2 replies

December 13, 2011

stevenceuppens stevenceuppe..
Ant Farmer
116 posts


Here some code like i do it usually! You can easily extend the javascript file.

I wrote this code myself and its based on Google Map API V3!

use this reference regarding the actual map

use this reference regarding the geocoding

In setup this implementation below, because it separates all parts of the gmap widget. And make is easy and straight forward to add functionality from the google maps api..

I hope its useful!

Download code here! []


Solutions Manager @ Qt Solution Center - Nalys
Mobile: +32 479 65 93 10
Office: +32 2 880 83 20

December 13, 2011

Sinapse Sinapse
Lab Rat
8 posts

Hi Steven, really thanks for your answer and your code ;-)

  ‹‹ Help required in writing npapi flash plugin      javascript-jit question ››

You must log in to post a reply. Not a member yet? Register here!