[Qt-qml] Basic QML Webkit + Flickable not working

Tico Ballagas ballagas at gmail.com
Fri Nov 5 22:17:18 CET 2010


I was trying to create a basic QML Webkit + Flickable proof of concept.  

import Qt 4.7
import QtWebKit 2.0

Flickable{
    width: 640; height: 480
    contentWidth: webView.width
    contentHeight: webView.height
    WebView {
        id: webView
        preferredWidth: parent.width
        url: 'http://qt.nokia.com'
    }
}

However, this seems to show a checkerboard... until you scroll.  Once you scroll, the content magically appears.  I've tried this on both Linux and Mac and get the same result.   What am I doing wrong?

Best
-Tico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20101105/0be5a834/attachment.html 


More information about the Qt-qml mailing list