Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Showing flash in QWebView on a QScrollArea

    Qt WebKit
    1
    1
    2625
    Loading More Posts
    • 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.
    • B
      birmacher last edited by

      Hi,

      I'd like to show a flash video with other widgets on a QScrollArea. I've created a QWebView like that:

      @QNetworkProxyFactory::setUseSystemConfiguration (true);
      QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled, true);
      QWebView* video = new QWebView(this);
      video->setFixedSize(550,343);
      video->setHtml(...);@

      The video appears, but in most of the cases the mouse input is not working well, under mac - another developer sad that, the same code is working as it should under windows.
      the problem is that the mouse pointer inside the flash player is not detected where it really is. It seems that it adds an offset.
      Also when the scrollbar is scrolled away, the offset changes again according to the scrolling.

      Update:
      It says I'm using QtWebKit version 2.0.2.
      Is it make sense to give a try for the new 2.2 beta? http://trac.webkit.org/wiki/QtWebKitRelease22 (Am I able to replace this with the one presented with the SDK?)

      1 Reply Last reply Reply Quote 0
      • First post
        Last post