分类: LINUX
2010-06-23 15:19:32
步骤如下:
(1) tar xjvf WebKit-r57791.tar.bz2
(2) (Yum) Install requirements in
It is noted that Moblin requires sqlite-devel besides the mentioned sqllite
(3) export QTDIR=/usr/local/Trolltech/Qt-4.6.2; export PATH=$QTDIR/bin:$PATH
(4) cd Webkit-r57791;
mkdir qtsymbols4.6
Remove 2 lines in WebCore/WebCore.pro and JavaScriptCore/JavaScriptCore.pro
as "Debugging WebCore" session of
(5) WEBKITOUTPUTDIR=`pwd`/qtsymbols4.6 WebKitTools/Scripts/build-webkit --qt
(*) Self-build qtwebkit introduces more codebase control than the qt-embedded-webkit
(*) Can run the QtLauncher in qtsymbols4.6/Release/bin
基本按照这个步骤没有什么问题,只是出现过几次编译过程中突然重启的情况,不知道是为什么。第5步里面注意第一行是一个命令,分开写的话会被编译的WebKitBuild里面去。