A very big problem with Qt and css.
-
As you can see in the video linked below there is problem with Qt and css.
This software has got only one form, it has got a list of buttons on the left and a widget on the right.
When the user clicks on a button, the software destroys the already present object in the central widget if there is any.
Everythings works fine but if the user clicks quickly, in some pc (not all) the behavior showed in the video happens.
I'm using Qt version 5.9.1, has anyone got a suggestion for me?
http://www.denisgottardello.it/QtCSS.flv -
I think it would be a better idea to provide an example of what you are doing otherwise it makes it difficult to understand what could be going on here.
Off the top of my head however, try calling deleteLater() on your central widget instead of delete, if that is what you are doing.