You do have alpha because the minimal's backingstore uses ARGB32_Premultiplied 
for the backing QImage.

What you do not have is setWindowOpacity(). You would need to implement 
QPlatformWindow::setOpacity() for that, but that is not possible with minimal 
since there is no compositor that could apply the opacity to the window 
contents during the composition step.

Best regards,
Laszlo

From: Paul Knopf <[email protected]<mailto:[email protected]>>
Date: Friday 17 April 2015 16:20
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [Development] Qt 'minimal' platform no rendering alpha/opacity.

I am testing the 'minimal' platform (mine is based off of it), and it seems 
that is doesn't render the alpha channel (setting opacity).

Here is a gist<https://gist.github.com/anonymous/544e84fbcde5022a6878> of my 
main function testing the opacity.

The saved images seems to have a tan background and no transparency.

Any ideas on how to get the alpha channel represented in the platform backing 
store?

--
Thanks!

~Paul
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to