[maemo-developers] Any early QtWRT adopters flying with us?
From: Dawid Lorenz dawid at lorenz.coDate: Thu Aug 12 17:51:07 EEST 2010
- Previous message: Any early QtWRT adopters flying with us?
- Next message: Any early QtWRT adopters flying with us?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 12 August 2010 15:34, <Devesh.Kothari at nokia.com> wrote: > I can try and help you out. > > > > Devesh > Thanks, Devesh. Firstly, I'd like to ask what is the rough ETA to publish proper documentation for this? I've used some references to w3c-based docs from your blog post [1], which helped in some areas (ie. SystemInfo API), but not all (ie. I'm not sure how to use geolocation APIs). Secondly, I have a problem using jQuery along with device APIs within same widget. I've already described my problem on Qt dev forums [2], yet with no answer, so let me reiterate it here: ==== copy/paste from forum [2] ==== > I have created a widget which uses sysinfo API and all relevant API calls > are stored in separate js file, so I include it into main html with: > <script type="text/javascript" src="hellowrt.js"></script> > Script itself uses plain old document.getElementById(‘element’).innerHTML > calls to update corresponding html placeholders and it generally works > nicely together. Now, the problem I have is that as soon as I include jQuery > to the JS stack: > <script type="text/javascript" src="jquery-1.4.2.min.js"></script> <script type="text/javascript" src="hellowrt.js"></script> > suddenly all my API calls just stop working and I don’t get responses from > sysinfo API. I don’t modify anything within hellowrt.js, just adding > jquery-1.4.2.js file renders hellowrt.js non-functional. > Perhaps there’s some sort of conflict between jQuery and sysinfo API? > Additionally, is there any way to debug QtWRT apps, ie. see JS errors as > they happen? Many thanks in advance for your input on this. [1] http://dkothari.blogspot.com/2010/08/qt-web-runtime-for-n900.html [2] http://developer.qt.nokia.com/forums/viewthread/486/ -- Dawid 'evad' Lorenz * http://dawid.lorenz.co null:// I haven't lost my mind - it's backed up on disk somewhere -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100812/b9f550e9/attachment.htm>
- Previous message: Any early QtWRT adopters flying with us?
- Next message: Any early QtWRT adopters flying with us?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]