View Full Version : How to display .svg image in Qt
GT Development
26th September 2011, 07:14
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
berzasnon
26th September 2011, 19:43
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
sergio87
27th September 2011, 14:01
Yoy can see the Qt example svgviewer: http://doc.qt.nokia.com/stable/painting-svgviewer.html
Regards
GT Development
28th September 2011, 06:03
Hi,
I created a new folder called imageformats and copied qsvg4.dll. Still it is not displaying the svg images.
Regards,
Priya
ChrisW67
28th September 2011, 06:17
I have placed all the images using Qt designer
If the SVG "images" are icons then also create an "iconengines" folder and copy the "qsvgicon4.dll" file.
If it still doesn't work then you will need to provide more information rather than just a "still doesn't work" message.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.