SUMMARY STEPS TO REPRODUCE 1. compile and start https://github.com/alphaonex86/CatchChallenger/tree/master/tools/animatedbackground 2. look the CPU used with oxygen theme 3. look the CPU with other theme OBSERVED RESULT Oxygen use 15% of CPU EXPECTED RESULT Other theme use only 2% of CPU Can you fix the performance please?
Oxygen uses background gradients, which unfortunately are much slower to render compared to a flat background.
I use too background gradient, via QPainter and no performance problem.
A radial gradient? Linear gradients are much faster.
Then you can QPainter on QPixmap to cache it, and update cache if the resolution change else just redraw the QPixmap.