Important: Please read the Qt Code of Conduct -

Showing flash in QWebView on a QScrollArea

  • 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);

    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.

    It says I'm using QtWebKit version 2.0.2.
    Is it make sense to give a try for the new 2.2 beta? (Am I able to replace this with the one presented with the SDK?)

Log in to reply