V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
ChangHaoWei
V2EX  ›  Python

Python pyqt 框架的一个模块问题 QtWebKit

  •  1
     
  •   ChangHaoWei · 2017-05-22 10:43:41 +08:00 · 1789 次点击
    这是一个创建于 2531 天前的主题,其中的信息可能已经有所发展或是发生改变。

    QtWebKit 这个模块在 qt5.5.1 之后不再支持了,但是用来做替换的包 QtWebEngine 对底层的支持不太好。

    我需要用 QtWebKit,现在问题就来了,我怎么安装一个旧版本?

    rmbp 最新系统

    第 1 条附言  ·  2017-05-22 12:33:11 +08:00
    新资料,在 github 上找到一个 c++ 库 为 qt5 增加 对 QWebKit 模块的支持

    有没有大神能提供办法让我在 python 里面也能用到

    https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-OS-X
    第 2 条附言  ·  2017-05-22 14:36:17 +08:00

    解决方案已经有了

    https://github.com/annulen/webkit

    IRC上某大神给我的解决方案。

    5 条回复    2017-05-22 14:35:33 +08:00
    araraloren
        1
    araraloren  
       2017-05-22 11:08:33 +08:00
    旧代码编译一下?谷歌一下 github 里估计有替代方案。。
    ChangHaoWei
        2
    ChangHaoWei  
    OP
       2017-05-22 11:30:04 +08:00
    @araraloren really hard. 我找不到方法,安装旧版本,我系统的版本都太新了。
    KaoN
        3
    KaoN  
       2017-05-22 12:54:44 +08:00
    好像 webkit 马上要回来了,等等 5.9 或者 5.10 ?
    izoabr
        4
    izoabr  
       2017-05-22 13:09:33 +08:00
    还在用 py27 + pyQt 4,不想升
    ChangHaoWei
        5
    ChangHaoWei  
    OP
       2017-05-22 14:35:33 +08:00
    @izoabr
    @KaoN

    表示我查到的资料不是回来了,而是 QtWebEngine 会提供更底层的借口去操作 http 请求

    我现在也想装 py27,要不你给我讲解一下怎么在 mac 下用源代码编译 pyQt4 ?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3622 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 04:21 · PVG 12:21 · LAX 21:21 · JFK 00:21
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.