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 7: Line 7:
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>
<code>symbian:
{
ICON = myAppIcon.svg
}
</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.

Revision as of 11:53, 25 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 (.pro) add the following

symbian:
{
 ICON = myAppIcon.svg
}

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":http://developer.qt.nokia.com/forums/viewthread/1806