[PyQt] PyQt/QtWebKit authenticationRequired QAuthenticator TypeError
dan.hopkins at hanzoarchives.com
Mon Jan 30 19:28:58 GMT 2017
On 30/01/17 19:16, Florian Bruhin wrote:
> * 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*').
Exactly that, thanks Florian!
More information about the PyQt