Hi,
Can anyone tell me how to display the .svg images in Qt. I have placed all the images using Qt designer. But when i build and run the application the SVG images is not displayed.
Regards,
Priya
Hi,
Can anyone tell me how to display the .svg images in Qt. I have placed all the images using Qt designer. But when i build and run the application the SVG images is not displayed.
Regards,
Priya
Go to your app's .exe file folder. Create a new folder called imageformats, and copy in that folder the file qsvg4.dll, usually located at (QtSDK folder)\Desktop\Qt\4.7.4\mingw\plugins\imageformat s
Yoy can see the Qt example svgviewer: http://doc.qt.nokia.com/stable/painting-svgviewer.html
Regards
berzasnon (28th September 2011)
Hi,
I created a new folder called imageformats and copied qsvg4.dll. Still it is not displaying the svg images.
Regards,
Priya
If the SVG "images" are icons then also create an "iconengines" folder and copy the "qsvgicon4.dll" file.I have placed all the images using Qt designer
If it still doesn't work then you will need to provide more information rather than just a "still doesn't work" message.
berzasnon (28th September 2011)
Bookmarks