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

Alan Alpert alan.alpert at nokia.com
Fri Aug 6 06:02:45 CEST 2010


On Wed, 4 Aug 2010 06:25:26 Ballagas Tico (Nokia-NRC/PaloAlto) wrote:
> 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
> 
> 

I'm seeing it too. I'll report it as a bug.

Keep in mind that bugs about the WebView element are owned by webkit, and so 
are in the webkit bug tracker (bugs.webkit.org) not the Qt one.

-- 
Alan Alpert
Software Engineer
Nokia, Qt Development Frameworks



More information about the Qt-qml mailing list