[Qt-interest] QT Webkit and flash

Dr. X xunlei at renci.org
Thu Jun 3 18:17:42 CEST 2010


Hi,
This is what I want to do. But the webpage asked for installing Flash 
Player.

     QWebView* view = new QWebView;
     view->load(QUrl("http://www.youtube.com"));
     view->show();

Flash Player is installed. Alternatively, I would like to do

     QGraphicsWebView* gWebView = new QGraphicsWebView;
     gWebView->load(QUrl("http://www.youtube.com"));
     gWebView->show();

which allows transformation of a webpage within the view or canvas I 
should say. This time, QGraphicsWebView widget does not even show up. 
Thanks for your help.

Best,
xunlei



On 6/3/2010 11:55 AM, Oliver.Knoll at comit.ch wrote:
> Dr. X wrote on Thursday, June 03, 2010 5:44 PM:
>
>    
>> Can anyone provide an example of showing (preferrably local) flash
>> content in a QWebView widget? Thanks a lot.
>>      
> In WebKit, open www.youtube.com - if you see the videos, Flash is working (assuming you're not viewing the HTML 5 based videos ;)
>
> Or what exactly was your question?
>
> Cheers, Oliver
>    




More information about the Qt-interest-old mailing list