help with QPainter::setCompositionMode()
I'm just playing around with QPainter and get the following message on the console:
QPainter::setCompositionMode(), composition modes not supported on device
whenever I use QPainter::setCompositionMode(). For example, I tried
painter.setCompositionMode(QPainter::CompositionMo de_SourceOver);
What else do I need to set up on my system. I am using Qt 4.0.1 on an X11 based linux box
Re: help with QPainter::setCompositionMode()
You can only set the composition mode for QPainter objects that operates on a QImage.
Re: help with QPainter::setCompositionMode()
That's not exactly true. You can use composition modes for QPainter if you have the Compositemodule enabled in your X server.
Re: help with QPainter::setCompositionMode()
Quote:
Originally Posted by wysota
That's not exactly true. You can use composition modes for QPainter if you have the Compositemodule enabled in your X server.
I'm a bit of a linux idiot, would you have any ideas on how to do that?
Re: help with QPainter::setCompositionMode()