Open QtWebKit Development

Posted by Simon Hausmann on October 12, 2007 · 9 comments

As we plan to integrate WebKit into Qt 4.4 we have to choose a stable code base of WebKit. As Maciej announced on the webkit development list the trunk branch of WebKit is going to be merged with the feature branch and likely to more feature development in the future. Apple instead is going to create a safari-3 branch in WebKit’s Subversion repository and use that for stabilization. We decided to base our work on that stable safari-3 branch. At the same time we decided to switch the development of our patches of the QtWebKit port from Subversion over to git. Our development branches will be hosted on a public git repository here in the Trolltech Labs. You can browse it online through the GitWeb interface. The repository itself is also available through the git protocol, so you can clone the repository and follow our development. Every change that we put into the qtwebkit branch – which is based on the safari-3 branch from Subversion – we also plan to submit into WebKit’s trunk branch in Subversion.

This development model allows us to stay open in our development and makes it easy to publish experimental work. At the same time it should be easy to merge changes between branches and stay in touch with the official WebKit Subversion repository. The svn/* branches in the Git repository are automatically imported from Subversion.

QShare(this)

Possibly related posts:

  1. Briefly about upcoming QtWebKit releases

9 comments

1 cartman October 12, 2007 at 9:29 pm
 

qmake-qt4 && make results in :

make[1]: Entering directory `/home/cartman/webkit/WebCore’
( xcodebuild `perl -I../WebKitTools/Scripts -Mwebkitdirs -e ‘print XcodeOptionString()’` | grep -v setenv && exit ${PIPESTATUS[0]} )
/bin/sh: xcodebuild: command not found
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/cartman/webkit/WebCore’
make: *** [sub-WebCore-make_default-ordered] Error 2

Same issue with upstream WebKit SVN, any ideas?

2 kreed October 13, 2007 at 1:20 am
 

Try using ‘./WebKitTools/Scripts/build-webkit –qt’ instead.

See http://trac.webkit.org/projects/webkit/wiki/BuildingQtOnLinux for further instructions.

3 cartman October 13, 2007 at 3:00 am
 

Thanks for the hint!

4 Segedunum October 13, 2007 at 2:06 pm
 

That’s excellent news. Certainly from a KDE point of view, being able to get some development weight behind a HTML engine and putting it in the base toolkit will help immeasurably I think. Hopefully, more code sharing will go on with Webkit as a result.

5 Henning October 13, 2007 at 2:43 pm
 

Two questions:
* Will Qt 4.4 contain two JavaScript implementations or are there any plans to share some code with QtScript?
* Will QtWebKit also implement contentEditable? This would be great. It is the only reason many of us still use Firefox. Every modern CMS uses MIDAs/contentEditable for WYSIWYG editing. Besides it would be fun to create a nice visual HTML in Qt..

6 gerai October 13, 2007 at 10:24 pm
 

can you open an anonymous git branch? http://repo.or.cz/mob.html

7 manyoso October 14, 2007 at 7:10 am
 

Yes, QtWebKit can do contentEditable.

QtScript JavaScriptCore is on the TODO.

8 alexis October 15, 2007 at 11:31 am
 

WebKit/WebKitTools/Scripts/build-webkit –qt
In file included from ../../../WebCore/css/CSSFontFace.cpp:31:
../../../WebCore/platform/FontData.h:26:30: error: FontPlatformData.h: No such file or directory
../../../WebCore/platform/FontData.h:115: error: field ‘m_font’ has incomplete type
../../../WebCore/platform/FontData.h: In member function ‘const WebCore::FontPlatformData& WebCore::FontData::platformData() const’:
../../../WebCore/platform/FontData.h:56: error: ‘m_font’ was not declared in this scope

Any comments?

9 Chris October 22, 2007 at 3:03 pm
 

..\..\..\WebCore\loader\FTPDirectoryDocument.cpp: In function `WebCore::String W
ebCore::processFileDateString(const WebCore::FTPTime&)’:
Great news indeed!

I got this trying to build it on Windows tho..:

..\..\..\WebCore\loader\FTPDirectoryDocument.cpp:236: error: `localtime_s’ was n
ot declared in this scope
NMAKE : fatal error U1077: ‘g++’ : return code ’0×1′
Stop.
NMAKE : fatal error U1077: ‘”C:\Program Files\Microsoft Visual Studio .NET 2003\
VC7\BIN\nmake.exe”‘ : return code ’0×2′
Stop.
NMAKE : fatal error U1077: ‘cd’ : return code ’0×2′
Stop.
WEXITSTATUS is not a valid POSIX macro at WebKitTools\Scripts\build-webkit line
141

Any ideas?

Comments on this entry are closed.

Previous post:

Next post: