开发者

How to run PyQt4 with flash web page?

I use this very simple python script Problem loading a specific website through Qt Webkit to display a web page. It works well, but it doesn't detect my installed libflashplayer.so on linux x86_64 (that displays http://www.adobe.com/go/getflash/ URL) . What can I do to be able to run flash web pages ? (flash works well with all my classics browsers)

Regards, 开发者_运维技巧sputnick


You need to enable the plugins explicitly with:

QWebSettings.globalSettings().setAttribute(QWebSettings.PluginsEnabled, True)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜