[PyQt] PyQt/QtWebKit authenticationRequired QAuthenticator TypeError

Florian Bruhin me at the-compiler.org
Mon Jan 30 19:16:35 GMT 2017


* Dan Hopkins <dan.hopkins at hanzoarchives.com> [2017-01-30 18:05:45 +0000]:
> I've got code that works fine with old distro packaged versions of PyQt et
> al, but I'm trying with this setup for a more recent webkit implementation.
> 
> The previously working code is now failing with what appears to be a
> type/pointer mismatch:

Earlier PyQt versions didn't type-check slots IIRC.

> Handler defined as:
> 
>     @Slot(QNetworkReply, QAuthenticator)

This should be @Slot('QNetworkReply*', 'QAuthenticator*').

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://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/20170130/c59135b6/attachment.sig>


More information about the PyQt mailing list