[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] QWebView and https
From: alanm <me () alandmoore ! com>
Date: 2010-05-27 18:14:50
Message-ID: 201005271314.51216.me () alandmoore ! com
[Download RAW message or body]
On Thursday 27 May 2010 12:07:27 pm Kovid Goyal wrote:
> Look at the sourcecode from the spynner project, its in python and IIRC
> does this.
>
> Kovid.
>
Thanks! I took your suggestion, and found the answer I needed in spynner.
Apparently when I tried to follow David's advice I got the signal signature
wrong.
The final working code snippet is:
self.connect (self.browserWindow.page().networkAccessManager(),
SIGNAL("sslErrors (QNetworkReply *, const QList<QSslError> &)"),
self.sslErrorHandler)
def sslErrorHandler(self, reply, errorList):
reply.ignoreSslErrors()
print ("SSL error ignored")
Many thanks to all who gave suggestions!
_______________________________________________
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