[Qt-interest] QtWebKit plugin issues

Andrew Stuart andrew.stuart at flatraterecruitment.com.au
Fri Oct 23 10:38:39 CEST 2009


Flash is broken in 4.6 under Windows.

as

On 23/10/2009, at 7:19 PM, Peter wrote:

I have a few issues with QtWebKit under both osx 10.6 (using Qt  
4.6.0beta1 w/cocoa) and linux (using Qt 4.5.2). Firstly, I cannot get  
flash working at all (I use youtube as a test). I set the  
globalSettings() correct as follows:

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

then when I load the page I confirm that plugins and javascript are  
both enabled:

   std::cout << "plugins enabled: " << webView->page()->settings()- 
 >testAttribute(QWebSettings::PluginsEnabled) << std::endl;
   std::cout << "javascript enabled: " << webView->page()->settings()- 
 >testAttribute(QWebSettings::JavascriptEnabled) << std::endl;
   webView->load(QUrl(url));

prints out:

plugins enabled: 1
javascript enabled: 1

I have flash10 installed on both linux and osx in the correct  
directories, but it just tells me that I have no flash browser  
installed or my javascript is not enabled...

What am I doing wrong?

Report this message as spam

_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091023/db472d1c/attachment.html 


More information about the Qt-interest-old mailing list