Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How do I use SVG images in QPushButton style sheets and make them clear in HD mode?



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

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

    but the size was not fit (SVG is not scaling it is fixed size) as in highDpI


Log in to reply