[Qt-interest] QT Webkit and flash on Windows 7 64bit
Dr. X
xunlei at renci.org
Fri Jun 4 17:52:29 CEST 2010
Hi Oliver,
I still have trouble seeing flash contents in QWebView. It keeps asking
me to install Adobe Flash Player. Here is my application
data\Mozilla\plugins\ folder.
-----------------
NPOFF12.DLL npnul32.dll npqtplugin3.dll npqtplugin7.dll
NPSWF32.dll nppdf32.dll npqtplugin4.dll plugins.folder.txt
QuickTimePlugin.class npqtplugin.dll npqtplugin5.dll
npdeployJava1.dll npqtplugin2.dll npqtplugin6.dll
-----------------
I am not sure what is missing. My Firefox plays youtube.com just fine.
Putting these files in the program's executive folder does not help.
Please help. Thanks so much.
Best,
x
On 6/4/2010 5:00 AM, Oliver.Knoll at comit.ch wrote:
> Dr. X wrote on Friday, June 04, 2010 4:12 AM:
>
>
>> Hi Oliver,
>> These are my global settings
>>
> They look good to me.
>
>
>> QWebView* view = new QWebView;
>> view->load(QUrl("http://www.youtube.com"));
>> view->show();
>>
> That should work! At least that's how it works for me on Win XP / Qt 4.6.1, with Flash Plugin 10.0.x (installed via Firefox). And I just noticed this page which describes the plugin locations:
>
> http://doc.qt.nokia.com/4.6/webintegration.html#netscape-plugin-support
>
> I once was guided to this following blog (Dec 10, 2009):
>
> http://blog.forwardbias.in/2009/12/flash-in-qgraphicsview.html
>
> It sais that several patches have to be applied to Qt as to make Flash in QGraphicsView work on all platforms ("What follows is a brief summary of my work and the list of patches that you will need to get Flash working with Qt 4.6.0."). I am not sure whether these patches have already been incorporated into the latest Qt (4.6.2) or will be in the upcoming 4.7. Anyway, this seems to affect you: "All windowless mode changes for Linux are part of Qt/WebKit 4.6. QGV on linux can display Flash only in windowless mode. If Flash is in windowed mode (like in youtube), it does not work." (that would explain why you don't get anything while in QGraphicsView, while when looking at a web page in a "normal" QWebView you are at least asked for the plugin).
>
> Note that "windowed" or "windowless" modes are not specific to Flash - that is how plugins in general are interacting with the browser: either they take full control over mouse/paint events etc. or are informed by the browser that they should react to these. Very informative blog!
>
> Anyway, that article might contain the answers you are looking for.
>
> Cheers, Oliver
>
More information about the Qt-interest-old
mailing list