[Qt-interest] dynamically generated SVG inside a QWebView?

Paul Miller paul at fxtech.com
Fri May 29 21:28:02 CEST 2009


I want to use a QWebView to show some SVG content that is dynamically 
generated from data within my application (a chart).

I see that I can't embed svg directly in my content using <svg> 
elements, but if I embed an <object> element that references SVG data 
that will work. However, the data is coming from a file and I need the 
data to come from code generated on the fly in my application.

Is it possible to wedge in my own data generator so the svg does not 
have to live as a file on disk first?

I'm using Qt 4.5.1.

-- 
Paul Miller | paul at fxtech.com | www.fxtech.com | Got Tivo?




More information about the Qt-interest-old mailing list