[PyQt] QtWebKit segfault if libflashplayer.so is in plugin searchpath

Robin Wittler real at the-real.org
Wed Jun 23 12:35:53 BST 2010


On 06/23/2010 01:22 PM, Kay D wrote:
> I did not started my planned PyQT flash research yet, but hope following
> could give you some clues:
> http://trac.webkit.org/wiki/QtWebKitPlugins
>
>     * Flash uses gdk. Gdk uses a different X connection from Qt. This
>       means that we have to flush the gdk display periodically. If you
>       find your scrolling jittery, this is the case of that. In the
>       ideal work, flash is supposed to use the Display provided using
>       the npapi, but it doesn't.
>     * Flash cannot paint on argb32 pixmaps since it does not use the
>       visual provided using the npapi (it uses gdk_default_system_visual
>       instead). This makes it very hard to implement transparency. For
>       QWebView, we grab contents from the backing store to implement
>       transparency. For all other cases, transparency is turned off
>       (except when the default system visual is 32-bit).
>
> Let me know if you'll find working PyQt\flash combination.
>
> Best regards,
>     Kay
>
>
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Thank you for your answer. What makes me a little bit confused is the 
point that i disable plugins in the page settings, but QtWebKit crashes 
anyway. Is there another way to disable plugins? Maybe i can register a 
own handler for the application/x-shockwave-flash type? I remember some 
pluginfactory stuff ... but if anyone has a good idea for me, please let 
me know.

cheers,
robin


More information about the PyQt mailing list