Simon
Qt
WebKit
Posted by Simon
 in Qt, WebKit
 on Friday, October 12, 2007 @ 16:24

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.

9 Responses to “Open QtWebKit Development”

» Posted by cartman
 on Friday, October 12, 2007 @ 20:29

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?

» Posted by kreed
 on Saturday, October 13, 2007 @ 00:20

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

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

» Posted by cartman
 on Saturday, October 13, 2007 @ 02:00

Thanks for the hint!

» Posted by Segedunum
 on Saturday, October 13, 2007 @ 13:06

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.

» Posted by Henning
 on Saturday, October 13, 2007 @ 13:43

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

» Posted by gerai
 on Saturday, October 13, 2007 @ 21:24

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

» Posted by manyoso
 on Sunday, October 14, 2007 @ 06:10

Yes, QtWebKit can do contentEditable.

QtScript JavaScriptCore is on the TODO.

» Posted by alexis
 on Monday, October 15, 2007 @ 10:31

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?

» Posted by Chris
 on Monday, October 22, 2007 @ 14:03

..\..\..\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?



© 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.