September 13, 2011

cmer4 cmer4
Lab Rat
111 posts

is Qt C++ Qwebview faster than Qml Webview?

 

Hi all, I know that in general Qt C++ code is faster than QML implementation.
But particular question is – QML WebView is really slow for the need of my app and before diving into C++ again I wonder if that will give me real benefit?

2 replies

September 13, 2011

ZapB ZapB
Ant Farmer
1425 posts

The QML webview is just a wrapper around the C++ one as far as I know. So the performance should be on par.

 Signature 

Nokia Certified Qt Specialist
Interested in hearing about Qt related work

September 13, 2011

task_struct task_struct
Ant Farmer
353 posts

You can see how QML WebView is implemented here [gitorious.org]

It uses QGraphicsWebView [doc.trolltech.com] and AFAIK all QGraphicsWidgets are slower than their QWidget equivalents.

 Signature 

“Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program.”
- Linus Torvalds

 
  ‹‹ rectangle rotation and width depends on mouse position      How to implement drag and drop between a gridview and a listview in QML ››

You must log in to post a reply. Not a member yet? Register here!