← Back to team overview

kicad-developers team mailing list archive

Re: Generating the _xpm files uside by icons in eeschema.

 

Hi Kristoffer,

You need to add entries to bitmaps_png/CMakeLists.txt and
include/bitmaps.h. After that you need to build KiCad with a Cmake
option -DMAINTAIN_PNGS=ON. You will need Inkscape for file format
conversion.

Regards,
Orson

On 07/24/2017 09:40 PM, Kristoffer Ödmark wrote:
> Hello!
> 
> I am working on some patches currently that adds a few menu entries in
> eeschema. Since they seem to require me to add icons to all of the
> entries, I am now stuck on trying to generate the .cpp files. Could
> someone point me in the correct way on how to do this.
> 
> I currently have added 2 svg files in bitmaps_png/sources/ after that I
> am unsure of what to do. Tried running a script i found in there, which
> ran "rm -r *", causing me to have to remake svgs.
> 
> - Kristoffer
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp


Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References