[Qt-wince-interest] QtWebKit on HTC HD2
Pieter Scholtz
pieterscholtz at gmail.com
Tue Jan 26 09:53:08 CET 2010
Hi
We are developing mobile web applications optimized for WebKit. The UI part
of our application (HTML, CSS and JavaScript) has been successfully ported
to iPhone and Android, using the re-usable WebKit components on those
platforms. We started development on Windows Mobile and with the goal of
platform portability chose Qt, or QtWebKit specifically to host our
applications on Windows Mobile, and hopefully S60 and Maemo in the future.
The QtWebKit on WM has been working out quite well so far, with the
applications running comfortably on HTC Touch Diamond and Touch Pro
(versions 1, not 2).
However, we recently upgraded our WM development devices to the HTC HD2, for
the big capacitive touchscreen and snapdragon chip. For some reason the
application refuses to work, exiting immediately after start up. No part of
the web application is displayed before the abrupt exit. The exact same
application works without issues on the older HTC devices. I've tried Qt
versions 4.5.3 and 4.6.1, compiled with MSVC 2008 and the Windows Mobile 6
SDK, wincewm60professional-msvc2008 and wincewm65professional-msvc2008, but
no luck yet. Sometimes the app just exits, other times it just hangs
followed by the "We are sorry..." message with the option to send the crash
report to Microsoft.
I've also tried running the Qt demo browser. It starts up ok, but crashes
soon after loading a page.
I don't fancy myself a Windows developer, preferring Unix-like environments.
What advise can you give me to debug this problem? I can't build QtWebKit in
debug mode, so I've only tested with release builds. This should be
sufficient to at least get a stack trace or something, but I have no idea
how. Any help will be much appreciated. I've had similar issues getting the
application running on a HP iPAQ Business Navigator.
The problem might have something to do with the 32MB process limit on WinCE
5. The total size of my DLLs is around 25-26MB. I think it should be fine
and it does work correctly on much older HTC devices. Is there a way to
verify whether this memory limit is causing the problems or not?
I am also wondering how big a priority WinCE support is for Qt now that
TrollTech has been acquired by Nokia. I really hope Nokia takes the "Deploy
Everywhere" slogan seriously, as Qt is a really awesome framework, much more
powerful than anything else in Windows Mobile land.
Regards
Pieter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-wince-interest/attachments/20100126/a555efeb/attachment.html
More information about the Qt-wince-interest
mailing list