I'm trying to paint a PNG file on a QsplashScreen.Im' trying to do it via QPainter
. The reason I want to do it via QPainter
is because I want it to minimize smoothly (until it disappear), When I'm just repaiting it it doesn't looks smooth at all.
I passed the QSplashScreen
to the QPainter
constructor. When I call begin() in the QPainter
with th e QSplashScreen
as parameter it fails on the assert d->active
. It happens in the same way when I supply Qpixmap
.
What am I doing wrong? How should I initiate the QPainter
's begin()?