Clone the qtwebkit from gitorious
cd ~/Workshop
git clone git://gitorious.org/+qtwebkit-developers/webkit/qtwebkit.git
Build the dependencies
sudo apt-get install bison flex libphonon-dev libicu-dev libsqlite3-dev libxext-dev libxrender-dev gperf libfontconfig1-dev libphonon-dev
export QTDIR=/usr/local/Trolltech/Qt-4.7.1
export QTINC=/usr/local/Trolltech/Qt-4.7.1/include
export QTLIB=/usr/local/Trolltech/Qt-4.7.1/lib
export PATH=/usr/local/Trolltech/Qt-4.7.1/bin:$PATH
Build WebKit and the Qt test browser
cd ~/Workshop/qtwebkit
Tools/Scripts/build-webkit --qt --debug
Debugging webcore
vi WebCore/WebCore.pro and edit the following section as instructed
CONFIG(QTDIR_build) {
# Remove the following 2 lines if you want debug information in WebCore
CONFIG -= separate_debug_info
CONFIG += no_debug_info
}
Testing the port
Tools/Scripts/run-launcher --qt --debug
阅读(2856) | 评论(0) | 转发(0) |