PDA

View Full Version : QSvgWiidget / QSvgRenderer Animate not working



xerius65
12th June 2019, 07:33
I am trying to use animations with QsvgWidget. Enclosed is a file which has 3 inline svg strings. All show, but the animation does not work for svg_str2, which has the "animate" element. It does work work svg_str3, which has the "animateTransform" element.

This seems to be a problem with the QSvgRenderer, as the member function animated() returns False for svg_str2. Any Ideas ? Is the "animate" tag simply unsupported in QSvgRenderer ?

13155