[PyQt] PyQt 5.7.1: TypeError: C++ type 'QList<QSslError>' is not supported as a pyQtSlot type argument type
Florian Bruhin
me at the-compiler.org
Fri Jan 6 06:16:21 GMT 2017
Hey,
I had a bug report[1] from someone using Gentoo, who got the following
error after updating to PyQt 5.7.1 and sip 4.19:
File "...", line 214, in NetworkManager
@pyqtSlot('QNetworkReply*', 'QList<QSslError>')
TypeError: C++ type 'QList<QSslError>' is not supported as a pyqtSlot type argument type
They can reproduce it with the following minimal example:
from PyQt5.QtCore import QObject, pyqtSlot
from PyQt5 import QtNetwork
class Foo(QObject):
@pyqtSlot('QNetworkReply*', 'QList<QSslError>')
def foo(self, a, b):
pass
I can't, with the same versions on Archlinux.
In general, SSL seems to work for them:
>>> from PyQt5.QtNetwork import QSslSocket
>>> print(QSslSocket.sslLibraryVersionString())
LibreSSL 2.5.0
PyQt build log: http://paste.the-compiler.org/index.php/view/1488f76a
Qt configure summary: https://github.com/The-Compiler/qutebrowser/issues/2213#issuecomment-270738332
Any idea what could be going wrong there?
Thanks,
Florian
[1] https://github.com/The-Compiler/qutebrowser/issues/2213#issuecomment-270837039
--
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: 801 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170106/fed37e05/attachment.sig>
More information about the PyQt
mailing list