Linked by Amjith Ramanujam on Thu 7th Aug 2008 05:35 UTC, submitted by Ali
Mozilla & Gecko clones The Mozilla and Nokia teams have been working hard to port Firefox 3 and the Mozilla Platform to Qt and there are now some solid results available from their efforts. An experimental build of Firefox Qt is available and you can download the sources from Mozilla's mercurial repository. The plan is to merge the Qt branch into the central Mozilla branch to make the port official.
Thread beginning with comment 326079
To read all comments associated with this story, please click here.
Doesn't Qt Have WebKit?
by FunkyELF on Thu 7th Aug 2008 14:17 UTC
FunkyELF
Member since:
2006-07-26

From what I understand, you can create a full blown, history, bookmarks, back, forward, stop, refresh webkit browser with 100 lines of code in Qt. They have made it trivial to create a Qt browser. Why port Mozilla to this platform?

To me that is just as silly as running KDE on Windows which already has a desktop environment, or running Qt in Java which already has platform independent libraries.

Reply Score: 2

RE: Doesn't Qt Have WebKit?
by ba1l on Thu 7th Aug 2008 14:29 in reply to "Doesn't Qt Have WebKit?"
ba1l Member since:
2007-09-08

No, the version of Webkit in Qt is unsuitable for building a full web browser in. I understand that it's missing a lot of features exposed by webkit itself that'd be needed for a fill browser UI, and it can't run plugins at all.

Reply Parent Score: 2

RE[2]: Doesn't Qt Have WebKit?
by leos on Thu 7th Aug 2008 20:40 in reply to "RE: Doesn't Qt Have WebKit?"
leos Member since:
2005-09-21

No, the version of Webkit in Qt is unsuitable for building a full web browser in.


I believe the Qt 4.5 snapshots have support for plugins. But you're right that the stable released 4.4 does not.
I can't think of anything else that's missing though. Arora is already a reasonable browser. If you run it with Qt 4.5 it does pretty much everything you would expect a browser to do.

Reply Parent Score: 4

RE: Doesn't Qt Have WebKit?
by aseigo on Thu 7th Aug 2008 15:28 in reply to "Doesn't Qt Have WebKit?"
aseigo Member since:
2005-07-06

From what I understand, you can create a full blown, history, bookmarks, back, forward, stop, refresh webkit browser with 100 lines of code in Qt. They have made it trivial to create a Qt browser. Why port Mozilla to this platform?


so that no matter what web stack you choose (for whatever reason) you can still decide to use Qt. Nokia is evidently working on making Qt a viable option everywhere.

Reply Parent Score: 6

RE: Doesn't Qt Have WebKit?
by leos on Thu 7th Aug 2008 20:38 in reply to "Doesn't Qt Have WebKit?"
leos Member since:
2005-09-21

From what I understand, you can create a full blown, history, bookmarks, back, forward, stop, refresh webkit browser with 100 lines of code in Qt.


Depends how you define browser. The Arora browser, which is an improved version of the demo browser included with Qt 4.4 is about 10,000 lines of code, and it's fairly full featured. Getting a simple web view with back/forward is just a few lines of code, but adding the rest is still not trivial.

To me that is just as silly as running KDE on Windows which already has a desktop environment


KDE apps are being ported, not the whole environment (yes, it can be made to run, but I don't think anyone imagines people seriously using it).

or running Qt in Java which already has platform independent libraries.


Not for everything. Especially GUI and system integration wise, Qt has some advantages over the Java standard libs.

Reply Parent Score: 6

RE: Doesn't Qt Have WebKit?
by ari-free on Thu 7th Aug 2008 20:38 in reply to "Doesn't Qt Have WebKit?"
ari-free Member since:
2007-01-22

you're forgetting something. mozilla itself is a platform. And it is a platform not just for all the extensions that you can only get for firefox but also other mozilla based apps like songbird

Reply Parent Score: 4