Simon
Qt
KDE
WebKit
Posted by Simon
 in Qt, KDE, WebKit
 on Friday, December 14, 2007 @ 12:37

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

18 Responses to “QtWebKit Development Update”

» Posted by LestorN
 on Friday, December 14, 2007 @ 13:13

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

» Posted by Zandru
 on Friday, December 14, 2007 @ 13:18

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

» Posted by Rolf
 on Friday, December 14, 2007 @ 13:35

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

» Reply from Simon
 on Friday, December 14, 2007 @ 14:28
Simon

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 :)

» Posted by Andreas
 on Friday, December 14, 2007 @ 16:43

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. ;-)

» Posted by Jason
 on Friday, December 14, 2007 @ 18:29

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?

» Posted by mjirby
 on Friday, December 14, 2007 @ 18:59

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?

» Posted by qtuser
 on Friday, December 14, 2007 @ 19:47

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

» Posted by qtuser
 on Friday, December 14, 2007 @ 19:48

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

» Posted by Daniel
 on Friday, December 14, 2007 @ 22:12
» Posted by a nonymous
 on Friday, December 14, 2007 @ 22:26

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

» Posted by Thiago Macieira
 on Saturday, December 15, 2007 @ 20:35

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.

» Reply from Simon
 on Monday, December 17, 2007 @ 09:49
Simon

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.

» Posted by Akio
 on Monday, December 17, 2007 @ 13:32

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

» Posted by AlekSi
 on Tuesday, December 18, 2007 @ 10:01

Trolls, you are ROCKS!!

» Posted by Harald Fernengel
 on Tuesday, December 18, 2007 @ 16:43

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

» Posted by Akio
 on Thursday, December 20, 2007 @ 08:00

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

» Posted by MiTcH
 on Thursday, December 20, 2007 @ 13:34

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.



© 2008 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners.