Hello

I've googled quite a bit about this problem with QWebView and QGraphicsWebView, in which there is no way to scroll easily in Symbian or Maemo.

Whenever you try to scroll, the text gets selected, and rarely the scrolling will work.

There is a bug report, but it was closed without fixing.

I found a way to fix it for Maemo 5, but the implementation seems to be quite long and difficult.

There is a comprehensive guide as well, but as there is no actual example uploaded and I'm a novice programmer, I fail to get some of the points.

This is my demo program, which works fine in Qt Simulator and desktop release (Linux), but fails to provide proper scrolling in Maemo/Symbian:
Qt Code:
  1. int width, height;
  2. width = height = 200;
  3.  
  4.  
  5. QGraphicsView* view = new QGraphicsView(scene);
  6. ui->verticalLayout->addWidget(view);
  7. view->setFrameShape(QFrame::NoFrame);
  8. view->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
  9. view->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
  10.  
  11. QGraphicsWebView* webview = new QGraphicsWebView();
  12. webview->load(QUrl("http://www.google.com"));
  13. webview->setResizesToContents(true);
  14.  
  15. scene->addItem(webview);
To copy to clipboard, switch view to plain text mode 

Does anyone have a suggestion on how to proceed?

Thank you
Meraj