I am trying to do something that to my surprise was much harder than first anticipated. I have a small bitmap resource that is 32bit png that I would like to display as an icon after tinting it to a specific color.
I came across QGraphicsEffect class and its children but it wont work unless I set up a whole scene graph which is kind of overkill for my purpose (rendering a 16x16 icon in different colors).
I also came across QPixmapFilter class in Qt4 but I can't find any reference for it in Qt5. Was it removed?
Also there is clearly some filters working on icons as seen in the widget icons example with both tints and blurs going on.
So how can I accomplish this simple task in Qt5?