Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-74109

Network module fails to switch to cellular link after Wi-Fi has been disabled



    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 5.11
    • Fix Version/s: None
    • Labels:
    • Platform/s:


      If an application that uses QNetworkAccessManager loses Internet access through its Wi-Fi connection, then it fails to use the cellular link to access Internet.

      Steps to reproduce:

      1. Build attached minimal project
      2. Make sure you have Wi-Fi connected to Internet AND cellular activated
      3. Start app > click "ping" > you should see something downloaded
      4. Disable Wi-Fi from the device settings
        1. Variant: switch to another Wi-Fi with no Internet access
      5. Return to app > click "ping" > cannot access Internet despite cellular connection

      Note: if you can't reproduce this issue, try to enable/disable the Wi-Fi a few times and retry. Restarting the device seems to momentarily fix the issue.

      Note 2: if you start the app with Wi-Fi disabled, it can access Internet with cellular.

      Android seems not affected by this.

      Related issues:

      The above-mentioned issues relate to the QNAM not restoring Internet access after Wi-Fi was disabled and then re-enabled. My issue is different: it's Qt not switching to cellular when there is no more Internet access through Wi-Fi.


          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.



              • Assignee:
                tpochep Timur Pocheptsov
                julien-l Julien Lemaitre
              • Votes:
                0 Vote for this issue
                2 Start watching this issue


                • Created:

                  Gerrit Reviews

                  There are no open Gerrit changes