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

Can't roaming with QNetworkAccessManager

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 4.7.1
    • None
    • SDK:S60, 92_201045_hw79, ps2; C6-01; qt-mobility-symbian-1.1.0-symbian3.sis

      I've modified http example(C:\Qt\2010.05\qt\examples\network\http) , tying to enable roaming on Symbian 3 device.
      But I found that roaming from WLAN to GPRS failed.

      Steps:
      1.Press "Download" button in WLAN available area.
      2.After download succeeded, walk to WLAN uncovered area.
      3.Press "Download" button.

      Actual result:
      GPRS is connected.
      But, "Download failed:Host qt.nokia.com not found." is shown .
      Expect result:
      GPRS is connected. Download succeed.

      I've added such code into the example:

      void HttpWindow::startRequest(QUrl url)
      {
          //add-start
          QNetworkConfigurationManager manager;
          QNetworkConfiguration cfg = manager.defaultConfiguration();
          qnam.setConfiguration(cfg);
          //add-end
      
          reply = qnam.get(QNetworkRequest(url));
          connect(reply, SIGNAL(finished()),
                  this, SLOT(httpFinished()));
          connect(reply, SIGNAL(readyRead()),
                  this, SLOT(httpReadyRead()));
          connect(reply, SIGNAL(downloadProgress(qint64,qint64)),
                  this, SLOT(updateDataReadProgress(qint64,qint64)));
      }
      
      //in http.pro
      symbian: {
          TARGET.CAPABILITY += NetworkServices \
              ReaduserData
      }
      

        1. Failed-info.PNG
          33 kB
          Wang Yu
        2. http_bug.zip
          41 kB
          Wang Yu
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            cristiano cristiano di flora
            y172wang Wang Yu
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes