Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. WebView OpenGL acceleration?
Forum Updated to NodeBB v4.3 + New Features

WebView OpenGL acceleration?

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 2.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mbarclaygmail.com
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • P Offline
      P Offline
      post4pavan
      wrote on last edited by
      #2

      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

      Qt for Embedded! INTERESTING!

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved