Hi,

I want to display an icon on a button. I added a prefix and the correspondent .png file to the project. Then I used the following syntax:

OKbutton->setIcon(QIcon(":/GraphicBarrier/Headphones-32.png"));

The code compiles but NO icon is displayed. Why is this happening?

Thank you