[webkit-qt] Qt Mobility Location + QtWebKit = navigator.geolocation.getCurrentPosition - is it possible?

Felipe Crochik felipe at crochik.com
Thu Sep 9 07:54:43 PDT 2010


I am trying to create a limited browser using QtWebKit that will implement
geo location. I would like to accomplish it on a "standard/recommended" way?
Is there any?

 

I plan to use Qt Mobility Location library to get the position from the gps
and then somehow I need to tell the webkit about it. 

The second part is the trick one for me: I can evaluate a Javascript to
allow a web site that I control to get the location but I would like, if
possible, to just have my webkit control to be able to handle
"navigator.geolocation.getCurrentPosition" (and any and other methods
related to it) using the information that I provided somehow.

 

Thanks in advance

Felipe

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20100909/c355a83b/attachment.html>


More information about the webkit-qt mailing list