[PyQt] a:visited color css not working in QWebView ?

Florian Bruhin me at the-compiler.org
Sat Jul 1 10:28:52 BST 2017


On Fri, Jun 30, 2017 at 03:09:56PM -0700, Han Jiang wrote:
> Hi I tried this in pyqt 4.10.1,qt 4.8.5, qtwebkit 534.34, on centos 7, all
> the other css work but not a:visited.
> 
> https://gist.github.com/oglops/d24a6217f2c763657a8e5ef83df6f503

Does it work when you implement a QWebHistoryInterface?
http://doc.qt.io/qt-4.8/qwebhistoryinterface.html

FWIW this works out of the box with Qt5 and an updated QtWebKit or
QtWebEngine.

Florian

-- 
https://www.qutebrowser.org  | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072  | https://the-compiler.org/pubkey.asc
         I love long mails!  | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170701/4eb79d52/attachment.sig>


More information about the PyQt mailing list