Important: Please read the Qt Code of Conduct -

Qss style override AutoRaise property on QToolButton

  • Hi,

    I'm creating global QSS style for my application. I have style for QToolButton widget. So it is :


    QToolButton:hover {

    QToolButton:pressed {

    The problem is that some of my QToolButtons have AutoRise property set to True and after apply this style they look like without this property (they have border and background). Is exist some trick for that?


Log in to reply