It appears that Qt doesn't support the stroke/fill options on the path tag within a SVG:
<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8">
<path fill="green" stroke="red" d="M2 0c1 2-2 3-2 5s2 3 2 3c-.98-1.98 2-3 2-5s-2-3-2-3zm3 3c1 2-2 3-2 5h3c.4 0 1-.5 1-2 0-2-2-3-2-3z" />
</svg>
I load this into my application via Qt's resource loader, using a QIcon:
QIcon icon(":/svgs/fire.svg");
It displays as black on white regardless of the SVG properties. When I open the SVG in Firefox, the colors are honored. (Note, I've also tried hex values for the color arguments).
Am I overlooking something? Is there another way to color SVGs/QIcons in Qt?