[webkit-qt] QGraphicsWebView - resize to contents - Help?

Misha Tyutyunik michael.tyutyunik at nokia.com
Tue Mar 22 07:56:01 PDT 2011


As far as I remember there were some fixes in 4.7 that improved 
performance of qt rendering.

Felipe,
Any reason why you need to use re-size to contents?

Misha

On 03/22/2011 09:50 AM, ext Felipe Crochik wrote:
> Ariya,
>
> Thank you for your reply.
>
> I looked at the documentation and tried to change the viewport to no effect.
>
> I assume internally the QGraphicsWebView will change the page viewport to
> render each one of the tiles.
>
> The only other work around I could come up with is to change the "scroll
> position" of the mainframe depending on the scroll position of the
> QGraphicsWebView but it is anything but pretty :).
>
> My goal was actually to replace my implementation using QWebView with
> QGraphicsWebView in the hope that would work better on the Symbian^3 running
> Qt 4.6. I have experienced issues with it. I can only get a "perfect" zoom
> if I use the "raster" system but the raster system on the "top" (E7/N8)
> devices makes the device sluggish. Odd enough the raster does not affect the
> performance on the C7.
>
> I will run some tests using the Qt4.7 for symbian and hope that "soon" will
> be officially available.
>
> Thanks,
> Felipe
>
> -----Original Message-----
> From: Ariya Hidayat [mailto:ariya.hidayat at gmail.com]
> Sent: Monday, March 21, 2011 5:57 PM
> To: Felipe Crochik
> Cc: webkit-qt at lists.webkit.org
> Subject: Re: [webkit-qt] QGraphicsWebView - resize to contents - Help?
>
> I wonder if the trick in
> http://qt.gitorious.org/qt-labs/graphics-dojo/trees/master/webcapture,
> i.e. using the frame content size and page viewport size would work.
> Note: that example is using QWebPage directly, not QGraphicsWebView.
>
>



More information about the webkit-qt mailing list