Search code examples
qtflashqtwebkit

How to bundle Flash player plugin with my Qt app and point QtWebKit to that path?


I am trying to build a cross-platform Qt app where I need to show some flash content in a QWebPage. Is it possible to bundle the Flash player plugin within my app so that there is no dependency on whether the correct version of the plugin is already installed? I would probably also need to point QtWebKit to that particular path so it doesn't fail to find the plugin.


Solution

  • QCoreApplication::addLibraryPath() may help you.