Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Showing flash in QWebView on a QScrollArea
Forum Update on Monday, May 27th 2025

Showing flash in QWebView on a QScrollArea

Scheduled Pinned Locked Moved Qt WebKit
1 Posts 1 Posters 2.7k Views
  • 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 Offline
    B Offline
    birmacher
    wrote on last edited by
    #1

    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
    0

    • Login

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