推荐学习书目
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 · May 22, 2017 · 2257 views
    This topic created in 3279 days ago, the information mentioned may be changed or developed.

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

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

    rmbp 最新系统

    Supplement 1  ·  May 22, 2017
    新资料,在 github 上找到一个 c++ 库 为 qt5 增加 对 QWebKit 模块的支持

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

    https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-OS-X
    Supplement 2  ·  May 22, 2017

    解决方案已经有了

    https://github.com/annulen/webkit

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

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

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

    我现在也想装 py27,要不你给我讲解一下怎么在 mac 下用源代码编译 pyQt4 ?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   913 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 21:11 · PVG 05:11 · LAX 14:11 · JFK 17:11
    ♥ Do have faith in what you're doing.