Monday, May 31, 2010

QML sample using Webkit

QML can use Webkit because Qt 4.7 integrates it.
import Qt 4.7
import org.webkit 1.0

Rectangle {
    width: webView.width
    height: webView.height
    WebView {
        id: webView
        width: 640
        height: 480
        url: 'http://html5demos.com/canvas-grad'
    }
}

Of course, it is ready for HTML5.

1 comment:

Darrin Demchuk said...

Hi, I would really like to discuss some Ruby QtWebkit topics with you. Your blog is great, I'm planning on working heavily on some webkit based projects and would like to talk to you about them a bit. Please shoot me an email when you have a chance.

Thanks!

Darrin

Post a Comment