Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QNetworkAccessmanager::networkAccessibleChanged() signal not being emitted
Forum Updated to NodeBB v4.3 + New Features

QNetworkAccessmanager::networkAccessibleChanged() signal not being emitted

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mavericks
    wrote on last edited by
    #1

    We are using QNetworkAccessmanager to do HTTP requests. The network connection we are working on can go offline and online occasionally.

    So, we thought of using networkAccessibleChanged() signal to handle the case where the network accessibility is changed.

    But we observed that the networkAccessibleChanged() signal is not being emitted every time the network is being disconnected. Is there any known issues with the signal? If so, is there any alternative method for detecting the change in network accessibility?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You should also add which Qt version and which OS you are running on

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mavericks
        wrote on last edited by
        #3

        Hi,

        We are using MacOs 10.9 and Qt5.3.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Does this happen when running your program from Qt Creator ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved