I have several *.png icon files like new.png, open.png etc. I added these icons to my main menu in the QtCreator as following:
- Click on corresponding QAction in desgin mode
- In that actions property window --> QAction --> icon --> Select file...
- Select e.g. new.png
- Enter
Now, I can see that icon next to the newAction QAction object in the Qt creator design mode as here
The visible and iconVisibleInMenu is both checked in the properties window!
But, when I build that project and run my application, the icon is not there?? Why or what am I missing?