Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt 5.12 WebEngine does not load Flash Pepper plugin provided in Mac Bundle



  • We are using the licensed Enterprise distro on Mac and Windows.

    We want to load the Pepper Flash plugin included in our application bundle. We cannot get it to load.

    I should note that the normal global Flash Player in /Library/Internet Plug-ins loads fine.

    Our code:
    QString PlayerPath = ePtr->appPath() + "/../SharedSupport/PepperFlashPlayer/PepperFlashPlayer.plugin";
    QString ChromeFlags = "--ppapi-flash-path="+PlayerPath;
    qputenv("QTWEBENGINE_CHROMIUM_FLAGS", ChromeFlags.toUtf8());

    We have tried all sorts of variations. What are we doing wrong?

    Thanks,
    -- Harald


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Please take a look at this thread, it might solve your problem.

    By the way, since you have a commercial licence, you can also open a case directly with the Qt Company.



  • @sgaist Thanks. I have looked at all threads I could find here and other places. For our circumstance we seem to be doing the right thing, but it does not load from the bundle location. The Qt documentation is vague and does not show a full code example. If all else fails, I will jump through the hoops with Qt support. But I have not found that process very easy.


  • Lifetime Qt Champion

    By the way, what version of Qt are you using ?
    What version of your OSs are you running ?


Log in to reply