Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 62
Registered: ‎10-29-2008
My Device: 9800
My Carrier: Rogers

using QSvgRenderer to render SVG images?

Hey all, I'm trying to use the QSvgRenderer class in order to render some SVG files I have kicking around, however it doesn't seem to exist?

 

I know this has been a part of QT since 4, and it's listed as being inherited by QObject in https://developer.blackberry.com/cascades/reference/QObject.html however whenever I try to: 

 

#include<QSvgRenderer>

 

I get an unresolved inclusion error.

 

Is there a library I have to add to my .pro file? Any other ideas?

 

 

Developer
Posts: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB
My Carrier: Vip

Re: using QSvgRenderer to render SVG images?

QtSvg module is not built in cascades http://qt-project.org/doc/qt-4.8/qtsvg.html