开发者

How to run PyQt4 with flash web page?

开发者 https://www.devze.com 2023-03-30 16:48 出处:网络
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 (t

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

精彩评论

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