Custom Icon for "New Project" Template

CodeLite installation/troubleshooting forum
newintown
CodeLite Curious
Posts: 1
Joined: Wed Aug 06, 2014 5:25 pm
Genuine User: Yes
IDE Question: c++
Contact:

Custom Icon for "New Project" Template

Post by newintown »

Hi,
I've written a custom Project template for SFML-Projects and now i'm trying to add an icon.
The Icon-File itself is already in the template's folder but now my question is, where can i get/set the IconIndex I need to write in the .project file?

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CodeLite_Project Name="SFML Project" InternalType="User templates" IconIndex="THIS">
In the other templates they have stuff like "qt16" or "cmake" but the icon file itself is still just sitting in the same folder named "icon.png".
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Custom Icon for "New Project" Template

Post by eranif »

Due to bug, the icons are taken from a pre-defined list within codelite and not from the icon.png that exists on the file system
Please report this

Eran
Make sure you have read the HOW TO POST thread
Post Reply