<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>I am facing an issue with QNetworkInformation. Trying to connect
      to the signal 'reachabilityChanged' fails with an error. Please
      see below for a console example. According to the error printed,
      no such signal exists but looking at the sip file shows, that it
      should. Please help me solve it.<br>
    </p>
    <hr width="100%" size="2">
    <p>>>> from PyQt6.QtCore import pyqtSlot<br>
      >>> from PyQt6.QtNetwork import QNetworkInformation<br>
      >>> @pyqtSlot(QNetworkInformation.Reachability)<br>
      ... def reachabilityChanged(reach):<br>
      ...  print(reach)<br>
      ... <br>
      >>>
      QNetworkInformation.load(QNetworkInformation.Feature.Reachability)<br>
      True<br>
      >>> QNetworkInformation.instance().reachability()<br>
      <Reachability.Online: 4><br>
      >>>
QNetworkInformation.instance().reachabilityChanged.connect(reachabilityChanged)<br>
      StdErr: qt.core.qobject.connect: QObject::connect: No such signal
QNetworkInformation::reachabilityChanged(QNetworkInformation::Reachability)<br>
      neptun/12848/main: Traceback (innermost last):<br>
        File "<stdin>", line 1, in <module><br>
      TypeError: connect() failed between
      reachabilityChanged(QNetworkInformation::Reachability) and
      unislot()<br>
      >>> <br>
    </p>
    <hr width="100%" size="2">
    <p>Regards<br>
      Detlev<br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Detlev Offenbach
<a class="moz-txt-link-abbreviated" href="mailto:detlev@die-offenbachs.de">detlev@die-offenbachs.de</a></pre>
  </body>
</html>