[webkit-qt] transparent flash in qgraphicsview
jocelyn.turcotte at nokia.com
Mon Apr 11 08:24:14 PDT 2011
On Mon, 11 Apr 2011 15:24:07 +0200
ext Christophe Oosterlynck <tiftof at gmail.com> wrote:
> I posted my problem a week ago on the webkit mailing list but realized
> that my question makes more sense on the qt-webkit mailing list, so
> here we go:
> I'm having problems with showing a transparent flash in a
> QGraphicsView. Ofcourse I found the developments of Girish
> Ramakrishnan on this on his blog
> (http://blog.forwardbias.in/2009/12/flash-in-qgraphicsview.html) and
> in webkit bug 20081 (https://bugs.webkit.org/show_bug.cgi?id=20081).
> As far as I understand, there are two options:
> 1. override gdk_visual_get_system() using -Bsymbolic-function to force
> flash to draw on a 32 bit pixmap
I think that -Bsymbolic-function is actually an example of what
prevented Girish's hack from working reliably. I'm not sure how exactly
he did it (exporting a same signature function in libQtWebKit.so? using
LD_PRELOAD?), other people or google would know better than me.
> 2. wait for flash to fix itself and ask for a 32 bit pixmap
I wouldn't hold my breath for that :)
> I was wondering if there are any new developments on this? If not,
> then overriding gdk_visual_get_system() is the way to go at the
> moment? I don't understand this hack fully yet and I can't figure out
> if I will be able to do this in my code and still use precompiled qt +
> webkit library, or if I have to apply this hack in webkit and
> recompile it.
From what I read, since this is a quite exotic use case, a solution
for this problem would require hacks costing more in maintenance than
what they would benefit.
If you are deploying on a single platform you can probably hack
something together for your own use.
More information about the webkit-qt