How to add .svg application icon to a Qt for Symbian project: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
'''English''' [[How to add .svg application icon to a Qt for Symbian project Bulgarian|Български]] [[How to add .svg application icon to a Qt for Symbian project Hungarian|Magyar]]
'''English''' [[:How_to_add_.svg_application_icon_to_a_Qt_for_Symbian_project_Bulgarian|Български]] [[:How_to_add_.svg_application_icon_to_a_Qt_for_Symbian_project_Hungarian|Magyar]]


=How to add .svg application icon to a Qt for Symbian project=
= How to add .svg application icon to a Qt for Symbian project =


The following defines on how to add .svg icon for your Qt based symbian application.
The following defines on how to add .svg icon for your Qt based symbian application.


In your application’s Qt project file (.pro) add the following
In your application's Qt project file (.pro) add the following
 
<code>symbian:<br />{<br /> ICON = myAppIcon.svg<br />}<br /></code>


The .svg file needs to be kept in the same directory as the .pro file in the above case.
The .svg file needs to be kept in the same directory as the .pro file in the above case.
Line 11: Line 13:
Make sure that the svg file created is in svg-t format.
Make sure that the svg file created is in svg-t format.


==Other Related References==
== Other Related References ==
 
[http://developer.qt.nokia.com/forums/viewthread/1806 HowTo: Create a nice <span class="caps">SVG</span> icon from a bitmap and use it in your Symbian app] ''[developer.qt.nokia.com]''
 
===Categories:===


* [[:Category:HowTo|HowTo]]
&quot;HowTo: Create a nice SVG icon from a bitmap and use it in your Symbian app&amp;quot;:http://developer.qt.nokia.com/forums/viewthread/1806

Revision as of 11:35, 24 February 2015

English Български Magyar

How to add .svg application icon to a Qt for Symbian project

The following defines on how to add .svg icon for your Qt based symbian application.

In your application's Qt project file &#40;.pro&amp;#41; add the following

symbian:<br />{<br /> ICON = myAppIcon.svg<br />}<br />

The .svg file needs to be kept in the same directory as the .pro file in the above case.

Make sure that the svg file created is in svg-t format.

Other Related References

"HowTo: Create a nice SVG icon from a bitmap and use it in your Symbian app&quot;:http://developer.qt.nokia.com/forums/viewthread/1806