1 Attachment(s)
unknown error reading svg file
I am building user interface widgets and am using .svg files in the resource file. I have run into 1 file that QT cannot read - all the others are read fine. I'm wondering if this is a bug in the QT svg parser?
I've attached the file. All I get is "unknown error".
Re: unknown error reading svg file
Designer had no problem putting that SVG file on a QPushButton for me. Can you explain exactly how you are using the SVG? Post the offending code snippet?
BTW: I think you and I have read the same Inkscape buttons tutorial ;)
Re: unknown error reading svg file
My bad; I was initializing the images in the constructor of a containing widget, and I guess you can't do that. I moved that code out of the constructor (like the other controls that work) and it now works.