Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2096785
  • 博文数量: 229
  • 博客积分: 7217
  • 博客等级: 上校
  • 技术积分: 3224
  • 用 户 组: 普通用户
  • 注册时间: 2009-02-19 17:23
个人简介

个人主页https://xugaoxiang.com,微信公众号: Dev_Club 或者搜索 程序员Club

文章分类

全部博文(229)

文章存档

2017年(1)

2016年(20)

2015年(23)

2013年(1)

2012年(23)

2011年(68)

2010年(62)

2009年(31)

分类: LINUX

2011-07-11 02:47:27

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
   


阅读(2815) | 评论(0) | 转发(0) |
0

上一篇:QT/WebKit::How to use qvfb?

下一篇:Vim插件之cvim

给主人留下些什么吧!~~