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

mahesh.kulkarni at nokia.com mahesh.kulkarni at nokia.com
Thu Sep 9 09:17:33 PDT 2010


Hi Felipe,

The exact requirement you are looking for is already part of qtwebkit 2.1 release which implements http://dev.w3.org/geo/api/spec-source.html
2.1 webkit you can get from http://gitorious.org/+qtwebkit-developers/webkit/qtwebkit and mobility from http://qt.gitorious.org/qt-mobility/qt-mobility

Br,
MaheshK

From: webkit-qt-bounces at lists.webkit.org [mailto:webkit-qt-bounces at lists.webkit.org] On Behalf Of ext Felipe Crochik
Sent: Thursday, September 09, 2010 8:25 PM
To: webkit-qt at lists.webkit.org
Subject: [webkit-qt] Qt Mobility Location + QtWebKit = navigator.geolocation.getCurrentPosition - is it possible?

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/56b31f69/attachment.html>


More information about the webkit-qt mailing list