10-29-2011 02:29 AM
Is supporting Qt WebKit planned, or is there a way to use existing Qt code expecting WebKit against the PlayBook Qt port?
The provided configure script includes -no-webkit however changing that to -webkit leaves it disabled, leading me to believe that either it's not done yet or there's an alternate approach that we should be taking (and which is as of yet undocumented).
Solved! Go to Solution.
11-01-2011 04:01 PM
11-04-2011 03:23 PM - edited 11-04-2011 03:23 PM
Well, the existing QtWebKit can be used with the PB, but there are some dependancies that break building it. I was able to get it to build and work properly as a basic browser application. Here are some screenshots of it in action, pretty basic web browsing at this point but it does show that the QtWebKit engine works on the PB and can be built with some massaging of the build environment.
If there's a desire from the community I can post my skeleton app up and you can use that as a basis for getting QtWebKit running. Also I can post up the modifications that need to be made to the build environment to get the QtWebKit into the Qt build for PB.
Also, I noticed that once the page is loaded and rendered, the QtWebKit engine is FAST. No checkerboarding at all that I can see!
11-04-2011 08:26 PM
11-06-2011 02:37 AM - edited 11-06-2011 02:37 AM
If anyone here wants to get started with playing with QtWebKit I'm attaching a diff patch file to this post you can apply to the Qt system from RIM's GIT repo. Eventually I'll get a web page post together for it with a nice script to determine the path depth when patching, but this will get the people going that want to give it a shot.
11-07-2011 02:57 AM - edited 11-07-2011 02:58 AM
Also, if anyone wants to see it in action, here's a mostly functional port of a browser made in Qt called Arora:
Be patient, it takes a few seconds to load from a black screen.
03-20-2012 11:31 AM
I grabbed Qt from Qt's github (reads as 4.8.1) and webkit builds fine without any patches. However when I run a simple app with a webview it just crashes. What kind of changes to the pro file do I need to make? I already have:
QT += webkit
QT += network
I copied over all of the Qt libs to deploy/lib (so libQtWebKit.so.4 is already there).