Hi,
I'm trying out a simple example using qwebview, which is supposed to load google page.
The app works just fine on Symbian^3 emulator, But when installed on device( E7) and tried to launch , the webview doesn't load the url.
But the app connects to network, as I could see the pop up which connects to WLAN.
Here is the sample code.
ui->webView = new QWebView(this);
ui->webView->setStyleSheet("background-color:rgb(150,147,88); padding: 7px ; color:rgb(255,255,255)");
ui->webView->load(QUrl("https://www.google.com"));
ui->webView->showFullScreen();
And the pro file contents are.
QT += core gui webkit \
QT += webkit network
TARGET = WebBrowser
TEMPLATE = app
SOURCES += main.cpp\
form.cpp
HEADERS += form.h
FORMS += form.ui
CONFIG += mobility
MOBILITY =
symbian {
TARGET.UID3 = 0xeabd5d4a
include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
HEADERS += $$QT_SOURCE_TREE/examples/network/ftp/sym_iap_util.h
# TARGET.CAPABILITY += "NetworkServices ReadUserData WriteUserData"
TARGET.EPOCSTACKSIZE = 0x14000
TARGET.EPOCHEAPSIZE = 0x020000 0x800000
}
qt version at am using is 4.7, Kindly help me in resolving this issue.
Regards,
Vijay.
Bookmarks