Unsolved Create QPushButton with icon from vector image with custom size
-
Hi!
I want to create a QPushButton (and place it in a QGraphicsProxyWidget later) with a custom icon in SVG format.myButton->setGeometry(0, 0, 80, 80); myButton->setIcon(QIcon(":/Images/cursor_normal.svg").pixmap(QSize(w,h)));
Setting w and h on something unter 10 does make a recognizable difference (still really small), but if I go higher, like 50 50, it does not get any bigger, even though the pushbutton is larger, as you can see.
Any idea, what I missed? This is surely some kind of rookie error