Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, December 2007
Using Resources for SVG files


Message 1 in thread

Hello all,

I'm needed some icons for my application. I grabbed a couple of SVG
icons from openclipart (given that Qt supports SVG I guess it's better
than PNG), and now I thought about using the .qrc file for keeping
these. However, from the resource docs:
"The Qt resource system is a platform-independent mechanism for
storing binary files in the application's executable."

SVG is not binary (but ASCII text, although underneath it's binary
like everything else), can I use it with SVG also?

Maybe this questions is non-sense but I'm assuming that Qt is able to
read SVGs from openclipart (which afaik are mostly produced with
inkscape), is this true?

Cheers,

-- 
 [ signature omitted ] 

Message 2 in thread

Forget it!
Should have looked at the SVG Viewer example before!

Cheers,
-- 
 [ signature omitted ]