top | item 6373536

Introducing the Qt WebEngine

106 points| ddb | 12 years ago |blog.qt.digia.com | reply

36 comments

order
[+] rwbt|12 years ago|reply
A little bit off topic, but I'm glad Qt didn't end up at Microsoft.
[+] shmerl|12 years ago|reply
+1000. That could be a disaster. Some people in Nokia really saved it before the rest of Nokia sunk.
[+] nicholassmith|12 years ago|reply
This is really interesting, because whilst Qt Webkit was a fantastic effort it had some quirks. Last project I was working on used Qt Webkit to provide a basic browser, so there was lots of fun with flash player integration, Javascript going awry and so on, if they're relying on Chromium to act as the core it should remove a lot of those headaches for developers and allow them to build on top of it much easier.

Definitely a big change, quite exciting though.

[+] jdboyd|12 years ago|reply
Since Chromium doesn't support flash (that is one of the closed source bits added to Chrome), I suspect that while QTWebKit had fun with flash integration, Qt WebEngine will probably make Flash integration impossible.

The worst part (at least for where I work) of using Flash in QtWebView was the non-availability of a license to just include the flash .dll in our application distribution.

[+] dave1010uk|12 years ago|reply
Everyone seems to be moving from WebKit to Blink/Chromium. I wonder if / when Apple will be the only one using WebKit?

Slightly off topic: are there any desktop browsers that run on Linux or Windows that run an up to date version of webkit (for browser testing)?

[+] icefox|12 years ago|reply
Well as long as you have a copy of Arora that links to a current Qt you will have a recent WebKit. I have put Arora as a project on ice, but it is still useful for that purpose.
[+] jarek-foksa|12 years ago|reply
You could try compiling MiniBrowser which is bundled with WebKit-GTK tarball.
[+] rolleiflex|12 years ago|reply
This is excellent news. I have been working on a project that uses QtWebkit extensively and I have had my fair share of burns from QtWebkit's platform specific quirks—such as all rendering being retina except SVG, causing SVG's in webpage to show incredibly pixelated. Chromium core should enforce a stricter feature parity with the current Chrome.
[+] borplk|12 years ago|reply
Can someone provide a simplified summary?
[+] icefox|12 years ago|reply
After Google forked WebKit a few months ago into the Blink project the Qt trolls got together and decided that they will basing the future Qt WebKit module on the Google fork of WebKit and not the (Apple maintained) WebKit. While similar the two differ in a few key aspects the main one being if the WebKit/Blink webviews are in process or out of process (ignoring the discussion complication of webkit2).

There were various other reason for following Blink and honestly the day Blink came out I would be shocked if there hadn't been meetings in every company contributing to WebKit putting together a mini-project to decide if they should follow Google. There were a lot of little pain points in the WebKit project and Google in one swoop cleaned up a ton of them. If anything I see WebKit as an example of failing to steward an open source project on the part of Apple or the community as a whole. Everyone was working on their own problems that it was hard to get movement to fix bigger problems that applied to all ports. Even very visible things like letting each port have their own build system sounded good originally, but was one of the things holding the project back. I was on the edge of the community (worked on the qtwebkit port, helped port chrome to linux, ce port, blackberry port, etc) so I know only so much, but it would be interesting to hear from someone closer in the community not about what was bad technically in the project, but how as an project we (socially?) didn't fix them. Why didn't the WebKit meetings fix this? Did Apple have too much say because they owned the svn server to the detriment of themselves?

[+] leokun|12 years ago|reply
Qt is making a change to what iOS/Cocoa, Android, and Microsoft developers call a 'webview', an embedded browser engine. Qt's version of a webview will switch from WebEngine to Chromium. So if you want to render a browser page inside an application built with Qt, in the future this page it will use Chromium's engine, not WebEngine which was a homegrown engine based on webkit.
[+] Touche|12 years ago|reply
Qt is switching (from WebKit) to Chromium.
[+] hannibal5|12 years ago|reply
The Qt WebEngine will be based on Chromium.
[+] fauigerzigerk|12 years ago|reply
So, if I understand this correctly, there will be no more direct access to the DOM via C++, and JavaScript will be the only language for fine grained, fast DOM access. I'm not entirely happy about that, although I do understand the benefits of the new multi-process architecture.
[+] thesorrow|12 years ago|reply
What's going to happen to wkhtmltopdf and phantomjs ?
[+] denysonique|12 years ago|reply
Their future releases may be based on Qt::WebEngine instead of Qt::WebKit
[+] orng|12 years ago|reply
This is great news, although I really wish it would have come sooner as we have spent a significant amount of time getting Chromium Embedded Framework (CEF) to play nice with our Qt application in the past months.

One thing that I wonder though: Does this mean that the Qt WebEngine will stay more up to date? Because the old QtWebkit was lagging pretty far behind and for instance didn't get HTML5 support until very recently.

[+] sspiff|12 years ago|reply
While it's bad for you - you had to spend a lot of time and effort on integrating - perhaps this experience can be shared with the Qt WebEngine people and improve their effort?
[+] passfree|12 years ago|reply
This is what happens when Mozilla stopped giving shit about their XUL platform.
[+] shmerl|12 years ago|reply
Though I disagree with them on this:

> Finally, we are seeing that Chromium is currently by far the most dynamic and fastest moving browser available.

I think Firefox moves better. Plus Mozilla innovates more with their Servo project. Though I wish Mozilla would support projects like these officially instead of ignoring them:

https://wiki.mozilla.org/Embedding/IPCLiteAPI

That's what is used for Jolla's browser in the upcoming Sailfish (it uses Qt for the UI with that IPC embedding).

[+] randallu|12 years ago|reply
What about WebKit! Now they're down to Apple, GTK+, EFL and BlackBerry (until they go bankrupt).

EFL is funded by Intel and Samsung for Tizen (insurance policy against Android?). GTK+ is supported by consulting and occasional grants. If everyone but Apple leave WebKit will it stay open?

[+] fulafel|12 years ago|reply
If you ship a copy of a browser engine you need to make sure deployments are diligently kept up to date via patches, that didn't hapapen with the earlier Qt setup. Hope they have a plan for it now.