[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 10:55:40 PDT 2010


I guess the minimum requirement would be to get

1)      QtWebkit 2.1

2)      IIRC QtMobility 1.0.1 .

Just make sure you have Qt 4.6+ and QtLocation available before you build webkit.

Br,
MaheshK

From: ext Felipe Crochik [mailto:felipe at crochik.com]
Sent: Thursday, September 09, 2010 9:59 PM
To: Kulkarni Mahesh (Nokia-MS/Bangalore); webkit-qt at lists.webkit.org
Subject: RE: [webkit-qt] Qt Mobility Location + QtWebKit =navigator.geolocation.getCurrentPosition - is it possible?

MaheshK,

Thank you.

If you don't mind I have some follow up questions:
 Is there any special instruction on how to compile? Do I also need to get the latest branch of qt mobility or can I just use the "official release"?
My goal is to compile this for maemo5. Can you foresee any issues with that?

BR
Felipe

________________________________
From: mahesh.kulkarni at nokia.com [mailto:mahesh.kulkarni at nokia.com]
Sent: Thursday, September 09, 2010 12:18 PM
To: felipe at crochik.com; webkit-qt at lists.webkit.org
Subject: RE: [webkit-qt] Qt Mobility Location + QtWebKit =navigator.geolocation.getCurrentPosition - is it possible?

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


More information about the webkit-qt mailing list