Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2009

    QWebView for S60

    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:

    #include <QtGui>
    #include <QApplication>
    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)");
        return a.exec();
    I also have the following line in my .pro file:

    1.TARGET.CAPABILITY = NetworkServices ReadUserData WriteUserData
    I can connect to the internet using the phones web viewer application.

    When my application starts, I just get a blank screen.

    Please help!

  2. #2
    Registered User
    Join Date
    May 2010

    Unhappy Re: QWebView for S60

    Me too . I am using Nokia N97 mini . Same Code and same problem

    Pls some body help me soon .

    its very very very urget.

  3. #3
    Registered User
    Join Date
    Jan 2009

    Re: QWebView for S60

    I have found a solution.

    I put this:

    #ifdef Q_OS_SYMBIAN

    in my main function and it works now.

    This also needs to be installed:

    And you need to add the file sym_iap_util.h to your project.

Similar Threads

  1. white screen when calling qwebview widget
    By hulun499 in forum Nokia N9
    Replies: 13
    Last Post: 2010-05-10, 12:19
  2. QWebView and special character like @
    By foo6321 in forum Nokia N9
    Replies: 6
    Last Post: 2010-03-02, 14:59

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts