Bug 36348

Summary: [Qt] Disable TILED_BACKING_STORE if Qt version is earlier than Qt4.6
Product: WebKit Reporter: Laszlo Gombos <laszlo.gombos>
Component: WebCore Misc.Assignee: QtWebKit Unassigned <webkit-qt-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, hausmann, koivisto, tonikitoo
Priority: P2 Keywords: Qt
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Attachments:
Description Flags
proposed patch none

Description Laszlo Gombos 2010-03-19 00:16:59 PDT
It seems that the QtWebKit tiled backing store needs the QGraphicsItem::scale function (seeQGraphicsWebViewPrivate::updateTiledBackingStoreScale).

I propose to turn off TILED_BACKING_STORE if Qt version is earlier than Qt4.6 (instead of making it work on Qt 4.5 or earlier).
Comment 1 Laszlo Gombos 2010-03-19 00:21:11 PDT
Created attachment 51130 [details]
proposed patch
Comment 2 Simon Hausmann 2010-03-19 00:35:41 PDT
QGraphicsItem::scale is present in Qt 4.5, but it's not a Q_PROPERTY in QGraphicsObject.
Comment 3 Antonio Gomes 2010-03-19 08:49:56 PDT
i confess I do not know what is the current minimum version of Qt that QtWebKit has to support. 

one mentioned it is current release (4.6) and the next (4.7). If so, should we care much about 4.5?

just out of curiosity.
Comment 4 WebKit Commit Bot 2010-03-19 09:41:55 PDT
Comment on attachment 51130 [details]
proposed patch

Clearing flags on attachment: 51130

Committed r56243: <http://trac.webkit.org/changeset/56243>
Comment 5 WebKit Commit Bot 2010-03-19 09:42:00 PDT
All reviewed patches have been landed.  Closing bug.