I want to create a custom pushButton without any styling which just displays a .png image.
I have tried creating a pushButton with the setIcon method but this uses the pushButton silver styling I just want to display the image and have it be a button.
Also, I tried using QAction
newAct = new QAction(QIcon(":/new/prefix1/images/appbar.close.png"),
But this does not display anything without a toolbar.
Any ideas how I can get this to work?