Important: Please read the Qt Code of Conduct -

Very very poor scrolling using QtWebKit

  • I'm attempting to wrap my javascript/html application using qt and so far everything works fine, however scrolling is unbearable. On both Windows and OS X when scrolling it appears as if it takes several seconds for the scrolling to carry out. It is especially sluggish when I'm attempting to scroll through a DIV where its contents was computed dynamically with javascript (sometimes I scroll, count to ten, and it's stil trying to compute what to do). Even if I run something like this, though:

    @// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
    import QtQuick 1.1
    import QtWebKit 1.0

    Rectangle {
    id: application
    width: 1014
    height: 500
    WebView {
    id: page
    html: "<iframe src=''></iframe>"
    preferredWidth: parent.width
    preferredHeight: parent.height
    scale: 1.0
    settings.localContentCanAccessRemoteUrls: true

    I'm hoping there's a fix for this, my qt experience other than with this has been wonderful!

Log in to reply