[Interest] Flickering when animating QWidget resize

Thiago Macieira thiago.macieira at intel.com
Fri Aug 25 19:26:22 CEST 2017


On Friday, 25 August 2017 09:26:22 PDT Michael Jackson wrote:
> In our application, we are attempting to create a "fly out" effect with a
> QWidget based window and when the animation happens the QWidget flickers
> badly. We are usig QProperty animation in an attempt to achieve the effect.
> Is this not a good idea? Is there a setting that we are missing perhaps?

It's not a good idea to animate QWidgets. They were not designed for that.

At the very least, make your animations inside a QGraphicsView. Better yet, 
use QML and/or OpenGL.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list