View Single Post
Posts: 959 | Thanked: 3,427 times | Joined on Apr 2012
#1
I have been working on a bus tracker app for Philadelphia, and I wrote it as a web app to ease porting to iOS/Android/etc. I figured I could make it into a native app using a QtWebView, but when I try to build it Javascript tells me that there is no navigator.geolocation object. According to the docs there should be, but I can't find a simple example of how to make it work anywhere on the web (I'm rather new to QT, so the one app that I found I couldn't figure out which parts were the functional bits I needed).

Could anyone give me some advice here?