Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
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