Solved QToolButton Icon
-
I set an Icon (bmp file) on a QToolButton. That was fine except the icon was built for use with Windows code which has a "convention" that a specific magenta/pink colour is interpreted as transparent. So when I use it in Qt I see:
How do get parts of the icon to be transparent in Qt? I'm happy to re-design the icon so it isn't a .bmp file
-
Use a png with a proper alpha channel.
-
Use a png with a proper alpha channel.