Topic: Custom symbols and prefix

Hi,

I am working on Debian Trixie AMD64

I created my custom symbols under ~/.local/share/QElectroTech/QElectroTech/elements/p_electric/...
and they work fine.
Then I added a "qet_labels.xml" indot the above directory in order to set specific "prefix" for each category.
This did not work.

By the end I created a symbolic link to my p_electic directory
and add the content of  my "qet_labels.xml" into /usr/share/qelectrotech/elements/10_electric/qet_labels.xml

It the worked but this has two side effects:
- the custom symbols are visible under "Custom" and "QET" collection
- any upgrade would erave my changes to /usr/share/qelectrotech/elements/10_electric/qet_labels.xml

Is there a way to une prefix without all these changes?

Thank you

Debian AMD64

Re: Custom symbols and prefix

Hi,

see code line here: https://github.com/qelectrotech/qelectr … s.cpp#L664

So rename  your folder p_electric/ to 10_electric/

~/.local/share/QElectroTech/QElectroTech/elements/p_electric/
~/.local/share/QElectroTech/QElectroTech/elements/10_electric/

and put your qet_labels.xml in your ~/.local/share/QElectroTech/QElectroTech/elements/10_electric/ folder.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !