QtWebKit Development Update

Posted by Simon Hausmann on December 14, 2007 · 18 comments

The temperatures in Oslo have been dropping rapidly in the last few days, we’re well below zero now. The same applies to Qt where Thiago opened the fridge of feature freeze. I like how things fall into place :) . Actually I have the same feeling with QtWebKit right now. The pieces of the puzzle are falling together, with lots of really good progress:

  • We have integrated a copy of WebKit into the Qt sources and we’re updating it frequently.
  • Shortly after the integration Friedemann, one of the fearless Designer hackers, added a plugin to embed WebKit into Designer, along with support for QUrl properties. See the screenshot below :) .
  • Lars and Holger finished the separation of QWebView and QWebPage. The latter is now a standalone QObject that allows embedding WebKit into non-QWidget environments.
  • Michael Goddard of the TT Brisbane hackers started working on improving the QObject bindings inside JavaScriptCore, to make them behave like QtScript’s bindings with regards to signals & slots, properties and child objects. You can follow the progress in the branches of our public git repository.
  • Holger fixed lots of bugs in the event handling. The Web Inspector works much much better now.
  • We have written a little demo browser application to show the use of QtWebKit. It’s in demos/browser in Qt and this blog post was written using it :) !

QWebView embedded in Qt Designer

QShare(this)

Possibly related posts:

  1. Briefly about upcoming QtWebKit releases

18 comments

1 LestorN December 14, 2007 at 2:13 pm
 

i want to get it. but there is no snapshot on ftp or rsync…

2 Zandru December 14, 2007 at 2:18 pm
 

great news! i’m really looking forward to 4.4!

3 Rolf December 14, 2007 at 2:35 pm
 

Hi Simon!
Is the qt-4.4 tree with the integrated QWebKit available somewhere? Or where can I find the “demos/browser” stuff?
-Rolf

4 Simon December 14, 2007 at 3:28 pm
 

I’m not sure about the status of ftp/rsync, but you can also find the Qt snapshots in Git at http://labs.trolltech.com/gitweb?p=qt-snapshot;a=summary . The latest snapshot in the master branch contains yesterday’s snapshot. Stay tuned for more :)

5 Andreas December 14, 2007 at 5:43 pm
 

Whoops, looks like the last comment there caused labs to get “labbed” (or what our equivalent is of slashdotting) ;-) . We’re up again now, concurrency limit for git has been adjusted. ;-)

6 Jason December 14, 2007 at 7:29 pm
 

Could you please explain what “Lars and Holger finished the separation of QWebView and QWebPage. The latter is now a standalone QObject that allows embedding WebKit into non-QWidget environments.” means?

Also will we be able to redirect a submit button to a function in the application that does the form processing? Will we be able to read the values of s and other things?

7 mjirby December 14, 2007 at 7:59 pm
 

Is there support for flash in the web kit or is there a plugin that can be used. Like the possibility of QWebKit using the same plugin that opera or mozilla uses?

8 qtuser December 14, 2007 at 8:47 pm
 

Will I be able to grab a URL into this new view, then export it out as a jpg or png?

9 qtuser December 14, 2007 at 8:48 pm
 

And in addition to flash, other plug ins like QuickTime?

11 a nonymous December 14, 2007 at 11:26 pm
 

Well, what about the latest Flash? Even not has problems with Opera, due to the use of the new XEmbed protocol.

—-
This is also the first official Linux release to support the new XEmbed browser protocol which simply allows a browser plugin on Unix to behave better in a modern desktop environment.

Improvement over the string of beta releases: This new XEmbed-enabled plugin should work with Opera now.
—-
(From http://blogs.adobe.com/penguin.swf/2007/12/flash_player_9_update_3_final.html )
http://en.wikipedia.org/wiki/XEmbed

12 Thiago Macieira December 15, 2007 at 9:35 pm
 

The repository should now be working. All it took was a repack done on a more powerful machine, like one of those we use for development.

As for the files missing the end, it’s a known problem. We’re working to replace the script.

13 Simon December 17, 2007 at 10:49 am
 

Jason,

with “embedding WebKit into non-QWidget” environments I mean that you can embed webkit into any environment where you have for example only a QPainter. So you can for example create a QWebPage object, load a website and render its entire content to a PDF or a QImage, without the need to show anything onto the screen.

14 Akio December 17, 2007 at 2:32 pm
 

Dear Simon:

We have qtopia 4.3.0′s commercial license, and we are looking for a web browser baseed on qtopia.
Does QtWebKit can be run with Qtopia 4.3.0? BTW, if we want to get a snapshot of QtWebKit,
using “git clone git://code.staikos.net/webkit” is the right way or not? How much disk spaces do I have
to reserve for QtWebKit. Thank you very much.

Best Regards,
Akio

15 AlekSi December 18, 2007 at 11:01 am
 

Trolls, you are ROCKS!!

16 Harald Fernengel December 18, 2007 at 5:43 pm
 

Hello Akio,

I suggest you contact sales@trolltech.com and inquire about the Qtopia Greensuite, which comes with a browser component.

Hope this helps,
Harald

17 Akio December 20, 2007 at 9:00 am
 

Dear Harald:

Thank you very much. “Qtopia Greensuite” is Qtopia Green Phone?
We have this suit. Could you show me how to access the browser
components? BTW, what is the spec of the Green Phone’s build in
Browser? http://doc.trolltech.com/qtopia4.2/classes.html is the main
qtopia phone 4.2.0 api page what we used. Thank you very much.

Best Regards,
Akio

18 MiTcH December 20, 2007 at 2:34 pm
 

great !
i think only one thing is missing to Qt….a Qt Virtual machine…. to embed Qt apps in every internet browser….
you can embed widgets in QGraphicView, so what about doing this in a ‘virtual machine’ ?
(i didn’t know where to put this…)
Best regards.

Comments on this entry are closed.

Previous post:

Next post: