Integrating Adobe Flash with application
-
QtWebKit handles the Adobe Flash content if you have flash plugin installed. What other integration do you look for?
-
So simply installing Adobe Flash plugin in my computer will allow the QWebView to handle flash content?
-
As far as I know it will. I had only one problem: the webkit built with non-default struct member alignment doesn't work with the flash, but I hope you can use default alignment.
-
what do you mean by default alignment?
-
-
Ok, thanks for the education! How can opt to use default alignment for my web view?
-
I understand that you didn't change it intentionally (using for example /zp switch into MS compiler or #pragma pack) so I'm sure you use the default already.
-
Ok so I have the flash plugin on my computer (should i use the Chrome version?). It doesn't seem to have any effect.
-
Have you tried this?
@QWebSettings *settings = QWebSettings::globalSettings();
settings->setAttribute (QWebSettings::PluginsEnabled, true);@See also "this":http://qt-project.org/forums/viewthread/12496/ thread for other details.
-
Ok so it looks like the flash plugin has to be located in a certain directory. Which one?