Results 1 to 2 of 2

Thread: How to play flash with Qtwebkit

  1. #1
    Join Date
    Aug 2010
    Posts
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Maemo/MeeGo

    Default How to play flash with Qtwebkit

    I am running a Qt 4.6.2 in linux and want to use flashplayer plugin that i downloaded (10.1) in my QWebView.

    m_pWebView = new QGraphicsWebView(this->graphicsItem());
    QWebSettings *webSetting= QWebSettings::globalSettings();
    webSetting->setAttribute(QWebSettings::JavascriptEnabled, true);
    webSetting->setAttribute(QWebSettings::PluginsEnabled, true);
    webSetting->setAttribute(QWebSettings:eveloperExtrasEnabled, true);

    the libflashplayer is lay in /usr/lib/browser/plugins and I have that export QTWEBKIT_PLUGIN_PATH=/usr/lib/browser/plugins, but it can not able to show the embedded flash content in webpage.
    Is there a specific location where I need to place this file(I have see the url that http://doc.trolltech.com/4.6/webintegration.html )? do I grab it using the QWebPluginFactory?

  2. #2
    Join Date
    Jun 2010
    Posts
    102
    Thanks
    3
    Qt products
    Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: How to play flash with Qtwebkit

    Quote Originally Posted by devin View Post
    I am running a Qt 4.6.2 in linux and want to use flashplayer plugin that i downloaded (10.1) in my QWebView.

    m_pWebView = new QGraphicsWebView(this->graphicsItem());
    QWebSettings *webSetting= QWebSettings::globalSettings();
    webSetting->setAttribute(QWebSettings::JavascriptEnabled, true);
    webSetting->setAttribute(QWebSettings::PluginsEnabled, true);
    webSetting->setAttribute(QWebSettings:eveloperExtrasEnabled, true);

    the libflashplayer is lay in /usr/lib/browser/plugins and I have that export QTWEBKIT_PLUGIN_PATH=/usr/lib/browser/plugins, but it can not able to show the embedded flash content in webpage.
    Is there a specific location where I need to place this file(I have see the url that http://doc.trolltech.com/4.6/webintegration.html )? do I grab it using the QWebPluginFactory?

    yes, i also issue like you, can you help me fix it
    Contact: Skype: sonnh89
    Yahoo: nhs_0702@yahoo.com

    Liên hệ SKype: sonnh89

Similar Threads

  1. Opening local flash(.swf) file in QtWebKit?
    By DanLT3 in forum Qt Programming
    Replies: 1
    Last Post: 24th March 2011, 15:22
  2. QtWebKit and Flash plugin crash
    By PrimeCP in forum Qt Programming
    Replies: 2
    Last Post: 7th August 2010, 15:24
  3. Running flash in QtWebkit
    By jay in forum Qt Programming
    Replies: 2
    Last Post: 16th June 2010, 10:44
  4. Help: Play Flash media in Qt GUI application
    By RogerShen in forum Qt Programming
    Replies: 1
    Last Post: 5th March 2010, 10:59
  5. QtWebKit and flash performance issues
    By caelestis in forum Qt Programming
    Replies: 0
    Last Post: 7th February 2010, 05:08

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.