How to put SVG as button background

  • I tried to put the SVG background in QPushbutton using CSS style sheet, it draws the background

    @background-image: url("../image/mybutton.svg");@

    but the size was not fit (SVG is not scaling it is fixed size) as in Qtquick controls.

    Please help if anybody tried

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.