[Qt-qml] QML Webkit + Flash on N900?

tico.ballagas at Nokia.com tico.ballagas at Nokia.com
Tue Aug 3 22:25:26 CEST 2010


Hi-

I've been playing around with QML's Webkit, and tried to enable flash.  Here is the QML code I tested:

-----------------

import Qt 4.7
import QtWebKit 1.0

Rectangle {
    width: webView.width
    height: webView.height
    WebView {
        id: webView
        width: 640
        height: 480
        url: 'http://youtube.com'
        settings.pluginsEnabled: true
    }
}

------------------

It worked fine on Windows and Mac, but I had the following errors on the N900 along with a black screen.  Is anyone else seeing this error? 

Nokia-N900:/home/user/webkit# /opt/qt4-maemo5/bin/qmlviewer Webkit.qml 
created new network access manager for QDeclarativeEngine(0x233970) 
QHildonInputContext: Unable to get the Hildon IM window id
Xlib: sequence lost (0x10000 > 0x173) in reply type 0x0!
X Error: 0 0
  Major opcode: 0 ()
  Resource id:  0x1722001





More information about the Qt-qml mailing list