Another issue with QNetworkInformation

Detlev Offenbach detlev at die-offenbachs.de
Mon Sep 6 16:07:14 BST 2021


Hello,

I just upgraded to the latest PyQt6 snapshot. With this I get another 
error message trying to connect to the 
QNetworkInformation.reachabilityChanged signal. The message is

------------------------------------------------------------------------

qt.core.qobject.connect: QObject::connect: Incompatible sender/receiver 
arguments
         QNetworkInformation::reachabilityChanged(Reachability) --> 
EricNetworkIcon::__reachabilityChanged(QNetworkInformation::Reachability)

------------------------------------------------------------------------
The slot is defined with "@pyqtSlot(QNetworkInformation.Reachability). 
Defining the slot without @pyqtSlot works ok. What am I doing wrongly?

Regards
Detlev

-- 
Detlev Offenbach
detlev at die-offenbachs.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20210906/acfe1507/attachment.htm>


More information about the PyQt mailing list