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

QWebView fails to load a page.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • Some future release
    • 4.6.3
    • None
    • windows XP for development, tests run on a Nokia 5800 with qt 4.6.3. BTW, is there a function like qVersion() for the webkit?

    Description

      Hello,

      There have been several developer's reporting problems when trying to load a URL via the QWebView on Symbian. As I understand the documentation, one should only need to

      QWebView *view = new QWebView(parent);
      view->load(QUrl("http://qt.nokia.com/"));
      view->show();

      This works fine with the Qt Simulator on windows XP but fails on Symbian.

      To glean a bit more information, I added connections for the loadStarted() and loadFinished(bool) signals.

      ui->webView->load(QUrl("http://www.google.com"));
      ui->webView->setFocus();
      connect(ui->webView, SIGNAL(loadStarted()), this, SLOT(starting2load()));
      connect(ui->webView, SIGNAL(loadFinished(bool)), this, SLOT(doneLoading(bool)));

      The loadFinished(bool) signal returns true on the Simulator but false on Symbian.

      Nowhere in the QWebView reference page does it talk about capabilities. This probably requires the NetworkServices capability. I have run my test programs with it. No dice.

      Next I will try to use the Bearer API to establish an IAP before loading the web page.

      -jk

      Attachments

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

        Activity

          People

            cristiano cristiano di flora
            johnk John Kern
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes