Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

WebView OpenGL acceleration?



  • I'm running a QML app on a Freescale i.MX51 with OpenGL acceleration. The hardware acceleration works great except for WebView. I'm trying to render a "javascript fader slideshow":http://www.scriptiny.com/2010/09/fading-slideshow-script/ On my Ubuntu desktop it works fine (of course), but on the i.MX51 the fading transition is very choppy. I'm guessing QtWebKit doesn't support OpenGL acceleration? Is that correct? Or are there some Qt embedded compile options that I'm missing?

    I'm using a pretty simple WebView declaration:

    @
    import Qt 4.7
    import QtWebKit 1.0

    WebView {
    anchors.fill: parent
    settings.javaEnabled: false
    url: "/tmp/tinyfader/index.html"
    }
    @

    On the C++ side, my QDeclarativeView viewport is a QGLWidget.

    Thanks,
    Matt



  • Hi MattB,

    Porting QML on i.MX51, means,

    Can you please tell me, If learning QML alone will make me meet the needs alone?

    I write something in QML and build it on my Desktop, That's done! ((OR))

    Is it necessary, that we should use QML scripts with other, If we want to use our design on i.MX51?

    Please Kindly Suggest!

    Thanks & Regards :: Krishna Pavan


Log in to reply