First of all, thank you for your answer.
I agree with this for elaborated design, it is better to use something else than stylesheets.
But, I think even for the style of a whole application, if we stay in the scope of stylesheets capabilities, I don't see a reason why it should be bad to use them.
The problem here is that I don't have any elaborated effects that exceed the stylesheets capabilities and applying the stylesheet does not behave as it should do.
So the problem is not about stylesheets capabilities but more about the way they are implemented in Qt (what Qt does when we apply a stylesheet with setStyleSheet()). And this is where I found the bug.
In the bug report, I have added a minimal and complete example to reproduce the bug.
Thanks for your advice anyway![]()
Bookmarks