[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] PyQt5 qwebview not found in qtwebkit
From: Baz Walter <bazwal () ftml ! net>
Date: 2015-07-30 17:47:29
Message-ID: 55BA6331.60306 () ftml ! net
[Download RAW message or body]
On 30/07/15 15:22, Rembrand at daxLAB wrote:
> I'm trying to port my PyQt4 app to PyQt5. One of the reasons is that
> I want WebKit2 functionality. The PyQt Riverbank website states that
> QtWebKit is WebKit2 and QtWebKitWidgets is using Webkit1.
>
> However I can't find the QWebView inside QtWebKit. I can find however
> QWebView inside QtWebKitWidgets (but that is not what I want to use
> since it is WebKit1 according to the Riverbank website).
The Qt WebKit module uses WebKit2, but is QML only. The Qt WebKit
Widgets module uses WebKit1, but is widget-based. Qt has officially
deprecated both these modules, and there are no plans to port Qt WebKit
Widgets to use WebKit2.
The Qt WebKit module does have the WebView QML type, but it has a
severely limited API compared to QWebView. However, if your requirements
are very simple, I suppose you could use it inside a QQuickView or
something (I'm guessing a bit here, though, because I haven't used QML
very much yet).
--
Regards
Baz Walter
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic