Such a powerful framework, yet a swf files are not supporting inside the QWebview? Or do i have it all wrong?
Isn't there GNASH for PyQt?
Such a powerful framework, yet a swf files are not supporting inside the QWebview? Or do i have it all wrong?
Isn't there GNASH for PyQt?
13 views and not a single reply. amazing.
SWF with QWebview works "fine", or at least should (it's rely on installed plug-ins in system).
I tested fancy browser (c++ no in PyQT but probably that doesn't make any diffrence) and on Win swf's played fine.
Although on Linux x64 it didn't played probably due to missing plug-ins or misconfiguration of view (I have adobe betas flash player and swf load fine but don't play).
Basically look int view settings and enable Plugins, i.e.:
Qt Code:
view->settings()->globalSettings()->setAttribute( QWebSettings::PluginsEnabled, true ); view->settings()->globalSettings()->setAttribute( QWebSettings::JavaEnabled, true ); view->settings()->globalSettings()->setAttribute( QWebSettings::JavascriptEnabled, true ); view->settings()->globalSettings()->setAttribute( QWebSettings::AcceleratedCompositingEnabled, true ); view->settings()->globalSettings()->setAttribute( QWebSettings::SiteSpecificQuirksEnabled, true );To copy to clipboard, switch view to plain text mode
In the near future - corporate networks reach out to the stars. Electrons and light flow throughout the universe.
The advance of computerization however, has not yet wiped out nations and ethnic groups.
Especially considering the fact most of those 13 views are probably web spiders...
Found the answer, its exactly what you guys said. Thanks everyone, sorry for not being patient, I feel stupid.
I was actually looking for a Cover Flow widget and decided to get one in Flash and put it in a QWebView Widget.
Not very efficient approach since there is a nice pure Qt implementation of cover flow available.
http://code.google.com/p/pictureflow/
I know that, but it doesn't work with PyQt, its supported in the next release 0.2
Theres no bindings for PyQt, you have to make your own. I tried qmake, make install, it says theres no pictureflow.sbf file found.
It says you can use PyQt, but how would i do that? I don't understand how to generate the bindings myself.Can I use PictureFlow with Python?
The current stable version (0.1) does not offer Python support yet, expect this in the next version (0.2). Alternatively, you can use PyQt and SIP and generate the bindings by yourself. Please refer to PyQt and SIP documentations for details
As a last resort you can write a bit of C++ code that will expose a single C type function which will do what you want and I assume calling a C function from Python is quite easy. However getting proper bindings would surely be a better solution.
Have you played with SIP?
http://www.riverbankcomputing.co.uk/software/sip/intro
thank you Wysota, you have been more than helpful. I will look into it.
Bookmarks