Create a nice SVG icon from a bitmap and use it in your Symbian app

From Qt Wiki
Jump to: navigation, search
IMPORTANT: The content of this page is outdated. Reason: The Symbian platform is no longer supported.
If you have checked or updated this page and found the content to be suitable, please remove this notice.

Create a nice SVG icon from a bitmap and use it in your Symbian app

Scalable Vector Graphics

Scalable Vector Graphics (SVG) is a family of specifications of an XML-based file format for describing two-dimensional vector graphics which are used for icons of Symbian applications. SVG specification is an open standard which is maintained by World Wide Web Consortium (W3C).


Thought this might be usefull for some of you. This one assumes you do NOT have access to a nice .svg, but needs to create one from a bitmap. Note: make sure you’ve got the rights for it – don’t steal.

  1. Find a bitmap of at least 400×400px of what you want as the icon
  2. Crop and clean in Gimp (or whatever you use)
  3. Open Inkscape
  4. Open your bitmap (embed or link doesn’t really matter)
  5. Select the bitmap with the cursor
  6. Open Path > Trace bitmap
  7. Select Colors in the Multiple scans option
  8. Play around with the Scans value and click Update
  9. Once happy click Ok and close the dialog
  10. Move the new traced bitmap away, and delete the actual bitmap underneath it
  11. Make a square with rounded corners and put it below the traced bitmap
  12. Save the .svg
  13. Convert it with S60tools/svg2svgt
  14. Point out the file in your .pro file by adding ICON = myapp.svg where myapp.svg is your svg icon
  15. Run qmake again and compile a new .sis
  16. Install and enjoy