zoukankan      html  css  js  c++  java
  • webkit qt版快速编译 支持wml版本

    使用VS2005编译库:
    1. 下载Qt源码并解压(qt-win-opensource-src-4.5.3.zip);

    支持wml版本:

    1,打开E:\projects\webkit\src\src\3rdparty\webkit\WebCore\WebCore.pro

    (最终生成E:\projects\webkit\src\src\3rdparty\webkit\WebCore\QtWebKit.vcproj)

    将 !contains(DEFINES, ENABLE_WML=.): DEFINES += ENABLE_WML=0

    由0改为1.


    2. 安装vs2005,win7自动更新到最新补丁!!!

    3. 启动vs2005,选中“工具”,“visual studio 命令提示”

    3. 进入解压目录,键入

         configure -platform win32-msvc2005 -opensource -nomake examples -nomake demos
    4. 编译成功后,在vs2005中打开解压目录下的 project.sln。设置 browser 为启动项目,编译真个工程即可。

    如果运行时没找到dll。只要拷贝到同一个目录下执行。 

    注意使用的编译器是哪个版本的:

    E:\projects\webkit\src> configure -platform win32-msvc2005 -opensource -nomake e
    xamples -nomake demos
    Found more than one known compiler! Using "Microsoft (R) 32-bit C/C++ Optimizing
    Compiler.NET 2005 (8.0)"

    This is the Qt for Windows Open Source Edition.

    You are licensed to use this software under the terms of
    the GNU General Public License (GPL) version 3
    or the GNU Lesser General Public License (LGPL) version 2.1.

    Type '3' to view the GNU General Public License version 3 (GPLv3).
    Type 'L' to view the Lesser GNU General Public License version 2.1 (LGPLv2.1).
    Type 'y' to accept this license offer.
    Type 'n' to decline this license offer.

  • 相关阅读:
    再回首,Java温故知新(八):Java基础之字符串
    《Prism 5.0源码走读》 设计模式
    《Prism 5.0源码走读》Bootstrapper
    VS编译时自动下载NuGet管理的库
    《Prism 5.0源码走读》Prism 5.0简介
    代码阅读
    如何建设个人品牌
    Hexo建站教程
    Codeforce:131A. cAPS lOCK
    一文看懂《最大子序列和问题》
  • 原文地址:https://www.cnblogs.com/bigben0123/p/1987821.html
Copyright © 2011-2022 走看看