IconImage and ColorImage current state
-
Hi!
In previous versions of Qt (e.g. 6.6.3)
IconImage
was the only way to colorize images properly in a simple declarative way. It was private and undocumented, but it worked.As i can see in 6.9.0, both
IconImage
andColorImage
were removed from Qt. I was not able to find any mentions about it in release notes. Can we get some comments about current state and plans about these types? Or maybe some thoughts about how now developers are supposed to colorize icons and images? I'm awared about existing methods, but I think everyone will agree that they are not even close to simplecolor: "red"
.All i found is this report.
Thanks.
-
I would be interested in this too. I happened across
ColourImage
in some Qt source the other day and thought it looked useful before realising that it's internal. This was in 6.8.I am porting some Qt5 code at the moment and was trying to figure out how to colour an svg. I used to use
GraphicalEffects
and the compatibility library isn't available with the in-house Qt build I have to use. MeanwhileMultiEffect
, which I understood to be the Qt 6 replacement, doesn't appear to work, with no clues provided as to why not.