QIcon with layer

  • Hi.

    I know that I can do this using Gimp or similar. But I'm curious. I have two icons, can I somehow mix them at runtime? For example i have folder icon 24x24 and small 10x10 icon of RSS. I would like to put this RSS icon on top left corner of folder icon and have it as one QIcone. Is it possible?


  • Lifetime Qt Champion


    You can use QImage and QPainter to draw your new image then make an icon out of it.

    Hope it helps

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.