[PyQt] Use QWebview with Flash plugin

Gelonida G gelonida at gmail.com
Mon Apr 18 10:12:12 BST 2011


Hi David,


Thanks a lot for your help.

Installing a normal Firefox Flash plugin and setting
QWebSettings.PluginsEnabled to True did the trick.

Thanks a gain


04/18/2011 02:31 AM, David Boddie wrote:
> On Sat, 16 Apr 2011 18:55:43 +0200, Gelonida Gmail wrote:
> 
>> I'd like to have a small QWebview window in our application, which could
>> display the contents of a web page requiring Flash.
>>
>>
>> Is this possible with PyQT?
>>
>> If yes, is it possible
>> - on a Windows platform
>> - on a linux platform
> 
> Yes, on both, but much depends on the versions of the Flash plugin and the
> WebKit library being used. It's probably best to ask people which versions
> of Qt they are using successfully together with Flash then test those
> combinations.
> 
>> which version of Flash would be supported and what would be the procedure:
>> - to install the flash plugin
> 
> This would be the place used by Firefox.
> 
>> - tell pyqt where the plugins are located
> 
> The Qt 4.5 documentation had a section about this:
> 
>   http://doc.qt.nokia.com/4.5/qtwebkit.html#netscape-plugin-support
> 
> In other words, it shouldn't be necessary to do anything.
> 
>> - activate the plugin for a given QWebview window
> 
> I don't think you can enable/disable plugins on a per-window basis. I could
> be wrong, however, and I'm sure that there are people reading this that do
> a lot more with WebKit than I do.
> 
>> What versions would be supported.
> 
> I'm not sure about this. Searching this mailing list's archives and those
> for qt-interest might reveal some data.
> 
> David



More information about the PyQt mailing list