I am running Qt with S60 5th edition.
I cannot get QWebView to work on my target device (N97). The code works fine in the emulator.
This is my code in main.cpp:
I also have the following line in my .pro file:Code:#include <QtGui> #include <QApplication> #include<QWidget> #include<QWebView> #include<QVBoxLayout> #include<QUrl> int main(int argc, char *argv[]) { QApplication a(argc, argv); QWebView view; view.setStyleSheet("background-color:rgb(150,147,88); padding: 7px ; color:rgb(255,255,255)"); view.load(QUrl("http://www.google.com")); view.showMaximized(); return a.exec(); }
I can connect to the internet using the phones web viewer application.Code:1.TARGET.CAPABILITY = NetworkServices ReadUserData WriteUserData
When my application starts, I just get a blank screen.
Please help!



