Monday, July 21, 2014

Configuring QT to show flash on CentOs 6

1. Install Flash plugin

wget http://get.adobe.com/flashplayer/download/?installer=Flash_Player_11.2_for_other_Linux_%28.rpm%29_64-bit&standalone=1

sudo rpm -ivh flash-plugin-11.2.202.394-release.x86_64.rpm

2. Make sure your QT source code have this line:

QWebSettings::globalSettings()->setAttribute( QWebSettings::PluginsEnabled, true);


Your QWebView should now properly show embedded flash players.