Flash plugin in Qt5 WebKit on MacOS



  • Hi,

    I have a Qt application that works on Windows, Linux and Mac. It uses Qt WebKit and the Flash plugin. Recently I noticed that the Flash plugin doesn't load on MacOS version of my app.

    I created a small test using the HTML5 example application with modified main:

    @int main(int argc, char *argv[])
    {
    QApplication app(argc, argv);

    Html5ApplicationViewer viewer;
    
    viewer.webView()->settings()->setAttribute(QWebSettings::PluginsEnabled, true);
    viewer.webView()->settings()->setAttribute(QWebSettings::DeveloperExtrasEnabled, true);
    
    viewer.setOrientation(Html5ApplicationViewer::ScreenOrientationAuto);
    viewer.showExpanded();
    viewer.loadUrl(QUrl(QLatin1String("http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html")));
    
    return app.exec();
    

    }@

    I compiled it with Qt 5.0.0, 5.0.1 and 5.0.2 and the Flash never loads on neither the development OSX 10.8 nor test OSX 10.7.

    Safari reports that Flash is installed (v11.7.700.202). It also work correctly on Windows and Linux versions of my app. If I remember correctly it even worked for me on Mac couple of weeks ago but I am not sure as Flash is used for a side functionality of the app and I did most of the development and testing on Windows and Linux.

    I searched the forum and it has many posts about Flash issues on Mac but the issues seem to never be resolved or reported as bugs.

    What is the status of this issue then? Does Flash plugin work in Qt WebKit for anyone on Mac?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.