1

(150 replies, posted in Code)

Kellermorph wrote:

are u fine with this?

Thanks you Thomas. nomicons/wink

Merry Christmas.

2

(150 replies, posted in Code)

Kellermorph wrote:

Who knows what has changed since version 0.9?
Is there a summary somewhere, and does this only need to be described in detail once?

https://qelectrotech.org/forum/viewtopi … 102#p22102

Hi, have you refresh collection by right click on collections tree and do reload collection?

Edit : on 0.100-dev in settings you need before config where yours collection directories was located on disks.

4

(150 replies, posted in Code)

Yes, we can close out the year by tagging version 0.100 since it's been a while, but it bothers me that we're not providing a detailed changelog... like we used to do for older versions.

It's become something of a habit over the last four or five years, you might say, and critics will point out that three years later, nothing has been noted. The fault lies with a lack of time and perhaps rigour on our part... We have experienced very serious health problems affecting Joshua and myself at the same time, which almost put an end to this magnificent community project used daily around the world.


Of course, future versions built with the Qt6 frameworks will have updated QET version numbering in the qet.h file, but I don't yet know how they will be numbered: 0.200 or 0.600, 2026, etc.

5

(150 replies, posted in Code)

Kellermorph wrote:

I have no idea how difficult it is to program this and whether it is even possible, but wouldn't it be possible to automatically create a backup when a .qet file created with qt5 is opened with a qt6 version?

No no, just don't open file when you saw these warnings:
Warning: the element " " was saved with a later version of QElectroTech.
Warning: this project" " was saved with a later version of QElectroTech.

Edit: There are already methods in the code to check and alert users if, for example, they open a project saved in version 0.100 on an earlier version.

6

(150 replies, posted in Code)

Hallo plc-user and thanks you for your research. nomicons/wink

I think we need to add warnings if a project has been saved with the Qt6 Framework  and launched on Qt 5 build of QET, before users can break their projects by mixing Qt5 and Qt 6 versions of QET on the same project!

For now, I only provide Qt5 versions, but what will happen if they compile it themselves with Qt6?

A quick search in the code provides clues to alert the user:
https://github.com/qelectrotech/qelectr … y.cpp#L156

https://github.com/qelectrotech/qelectr … .cpp#L1381


Best regards,
Laurent

Grub wrote:

Je n'ai pas eu le temps de tester l'intégralité du bon fonctionnement ou des performances de cette version compilée.

Il te suffit d'aller dans le menu aide -> about QElectrotech -> onglet log!

Voir cette astuce pour moins perdre de temps au lancement de QET sous un MS Windows :

https://qelectrotech.org/forum/viewtopi … 624#p19624

Go to Start > Settings > Update & Security > Windows Security > Virus & threat protection. Under Virus & threat protection settings, select Manage settings, and then under Exclusions, select Add or remove exclusions. Select Add an exclusion, and then select from files, folders, file types, or process.

Grub wrote:

e recompile pour avoir la fonction "d'application des propriétés à l'ensemble des conducteurs" qui soit décochée par défaut car c'est très pénible que cette fonction soit toujours activée par défaut.

Merci de l'information, et de ton howto, je ne comprends pas trop pourquoi tu as besoin de désactiver cette fonction, il y a pleins de workaround pour casser l'équipotentialité juste en ajoutant un élément de type: simple et sous forme de terminal , borne, traits, etc..

Salut Grub,

tu n'avais pas le besoin de le compiler, j'ai empaqueté dernièrement le dernier commit de plc-user.
je serai curieux de voir comment tu compiles QET sous Windows, et avec quel compilateur, une quelconque différence à l"usage, moins d'utilisation RAM, CPU, Lancement plus rapide,  a contrario avec tes binaires que tu compiles?

10

(236 replies, posted in News)

FYI, I obliged to delete all qet_tb_generator binaries on server!
https://www.virustotal.com/gui/file/600 … 8f0bb4b37b

Generating a Python script into an executable .exe binary, etc. with PyInstaller and/or other tools alerts certain antivirus providers... they seem to be recognised by some as malwares and others not !.  WTF  !!! nomicons/gne

18/72 security vendors flagged this file as malicious... WTF  !!!   nomicons/gne

So please explain how we can produce the same Python binary without multiple false antivirus detections, or must we force our users to install it themselves by first installing the Python 3X framework and verifying that the user has checked the option to add the Python binaries to the Windows PATH, after which the user can use pip install qet_tb_generator in MS terminal....

Bonjour Laurent,

Lors de nos analyses de sécurité régulières, nous avons détecté la présence de fichiers malveillants (malwares) sur votre hébergement.

Par mesure de protection, nous avons temporairement bloqué les requêtes sortantes ainsi que l’envoi d’e-mails via les fonctions PHP. Cela signifie que vos sites installés sur cet hébergement ne peuvent plus expédier d’e-mails ni communiquer avec des services externes, le temps que la situation soit résolue.
Que dois-je faire ?

    Consultez notre guide pour stopper cette activité anormale.
    Une fois la situation résolue, connectez-vous à votre hébergement et demandez la levée des mesures de sécurité. Accéder à mon hébergement

Voici les fichiers malveillants que nous avons détectés :

   /download.qelectrotech.org/qet/builds/qet-tb-generator_macOS/qet_tb_generator
   /download.qelectrotech.org/qet/builds/nightly/qet_tb_generator/1.2.5/qet_tb_generator.exe
   /download.qelectrotech.org/qet/builds/nightly/qet_tb_generator/1.1.6/qet_tb_generator.exe
   /download.qelectrotech.org/qet/builds/nightly/qet_tb_generator/1.3.1/qet_tb_generator.exe
   /download.qelectrotech.org/qet/builds/nightly/qet_tb_generator/1.1/qet_tb_generator.exe
   /download.qelectrotech.org/qet/builds/nightly/qet_tb_generator/1.1.7/qet_tb_generator.exe
   /download.qelectrotech.org/qet/builds/nightly/qet_tb_generator/1.3.0/qet_tb_generator.exe
   /download.qelectrotech.org/qet/builds/AppImage/qet_tb_generator/1.2.5/qet_tb_generator
   /download.qelectrotech.org/qet/builds/AppImage/qet_tb_generator/1.1.6/qet_tb_generator
   /download.qelectrotech.org/qet/builds/AppImage/qet_tb_generator/1.3.1/qet_tb_generator
   /download.qelectrotech.org/qet/builds/AppImage/qet_tb_generator/1.1.7/qet_tb_generator
   /download.qelectrotech.org/qet/builds/AppImage/qet_tb_generator/qet_tb_generator
   /download.qelectrotech.org/qet/builds/AppImage/qet_tb_generator/1.3.0/qet_tb_generator
   /download.qelectrotech.org/qet/builds/qet-tb-generator_win/qet-tb-generator_32.exe
   /download.qelectrotech.org/qet/builds/qet-tb-generator_win/qet_tb_generator-1.3.1.exe
   /download.qelectrotech.org/qet/builds/qet-tb-generator_win/qet-tb-generator-1.1.4_32.exe
   /download.qelectrotech.org/qet/builds/qet-tb-generator_win/qet-tb-generator-1.1.5_32.exe
   /download.qelectrotech.org/qet/builds/qet-tb-generator_win/qet_tb_generator_1.3.0_windows.exe
   /download.qelectrotech.org/qet/builds/qet-tb-generator_win/qet_tb_generator-1.2.5.exe
   /download.qelectrotech.org/qet/builds/qet-tb-generator_linux/qet_tb_generator_1.3.0_linux
   /download.qelectrotech.org/qet/builds/qet-tb-generator_linux/qet_tb_generator_1.3.1_linux
   /download.qelectrotech.org/qet/builds/qet-tb-generator_linux/qet_tb_generator


Pour assurer la sécurité de votre site, de vos internautes et de l’infrastructure OVH, nous réalisons des analyses de sécurité automatiques sur l’ensemble des hébergements. Lorsqu’une activité anormale est détectée, des mesures de protection préventives et temporaires sont appliquées, afin de limiter tout risque.

Nous vous remercions pour la confiance que vous nous accordez.

L’équipe OVH

Hum OVH !!!! they are fasle postive warnings!
Laurent!

11

(4 replies, posted in Terminal block generator)

FYI, I deleted all qet_tb_generator binaries on server!
https://www.virustotal.com/gui/file/600 … 8f0bb4b37b

Generating a Python script into an executable .exe binary, etc. with PyInstaller and/or other tools alerts certain antivirus providers... they seem to be recognised by some as Trojans.

Bonjour Laurent,

Lors de nos analyses de sécurité régulières, nous avons détecté la présence de fichiers malveillants (malwares) sur votre hébergement.

Par mesure de protection, nous avons temporairement bloqué les requêtes sortantes ainsi que l’envoi d’e-mails via les fonctions PHP. Cela signifie que vos sites installés sur cet hébergement ne peuvent plus expédier d’e-mails ni communiquer avec des services externes, le temps que la situation soit résolue.

Que dois-je faire ?

    Consultez notre guide pour stopper cette activité anormale.
    Une fois la situation résolue, connectez-vous à votre hébergement et demandez la levée des mesures de sécurité. Accéder à mon hébergement

Voici les fichiers malveillants que nous avons détectés :

   /download.qelectrotech.org/qet/builds/qet-tb-generator_macOS/qet_tb_generator
   /download.qelectrotech.org/qet/builds/nightly/qet_tb_generator/1.2.5/qet_tb_generator.exe
   /download.qelectrotech.org/qet/builds/nightly/qet_tb_generator/1.1.6/qet_tb_generator.exe
   /download.qelectrotech.org/qet/builds/nightly/qet_tb_generator/1.3.1/qet_tb_generator.exe
   /download.qelectrotech.org/qet/builds/nightly/qet_tb_generator/1.1/qet_tb_generator.exe
   /download.qelectrotech.org/qet/builds/nightly/qet_tb_generator/1.1.7/qet_tb_generator.exe
   /download.qelectrotech.org/qet/builds/nightly/qet_tb_generator/1.3.0/qet_tb_generator.exe
   /download.qelectrotech.org/qet/builds/AppImage/qet_tb_generator/1.2.5/qet_tb_generator
   /download.qelectrotech.org/qet/builds/AppImage/qet_tb_generator/1.1.6/qet_tb_generator
   /download.qelectrotech.org/qet/builds/AppImage/qet_tb_generator/1.3.1/qet_tb_generator
   /download.qelectrotech.org/qet/builds/AppImage/qet_tb_generator/1.1.7/qet_tb_generator
   /download.qelectrotech.org/qet/builds/AppImage/qet_tb_generator/qet_tb_generator
   /download.qelectrotech.org/qet/builds/AppImage/qet_tb_generator/1.3.0/qet_tb_generator
   /download.qelectrotech.org/qet/builds/qet-tb-generator_win/qet-tb-generator_32.exe
   /download.qelectrotech.org/qet/builds/qet-tb-generator_win/qet_tb_generator-1.3.1.exe
   /download.qelectrotech.org/qet/builds/qet-tb-generator_win/qet-tb-generator-1.1.4_32.exe
   /download.qelectrotech.org/qet/builds/qet-tb-generator_win/qet-tb-generator-1.1.5_32.exe
   /download.qelectrotech.org/qet/builds/qet-tb-generator_win/qet_tb_generator_1.3.0_windows.exe
   /download.qelectrotech.org/qet/builds/qet-tb-generator_win/qet_tb_generator-1.2.5.exe
   /download.qelectrotech.org/qet/builds/qet-tb-generator_linux/qet_tb_generator_1.3.0_linux
   /download.qelectrotech.org/qet/builds/qet-tb-generator_linux/qet_tb_generator_1.3.1_linux
   /download.qelectrotech.org/qet/builds/qet-tb-generator_linux/qet_tb_generator


Laurent!

Hi,

maybe see this post: https://qelectrotech.org/forum/viewtopi … 369#p22369

Bonsoir Maxime,

voir https://qelectrotech.org/forum/viewtopi … 345#p19345
https://qelectrotech.org/forum/viewtopic.php?id=2464

14

(34 replies, posted in Elements)

Add english translation and save it to https://download.qelectrotech.org/qet/s … xml_tag.sh

Thanks you plc-user! nomicons/smile

15

(34 replies, posted in Elements)

Hallo plc-user!

I just saw your last commits, many thanks to push an very clean Catatan translation PR without noise off XML random attibutes and font family changes, very good job! \o/ nomicons/wink


If you could share your scripts for future translations we can't solving, I would be very grateful.
Yes, I know! It was very simple for end users to use the QET Element editor GUI to add new translations since they could edit .elmt files manually with a text editor.


Until further notice, we advise our translators to translate the ~ 8,500 elements in the official collection by opening each *.elmt file one by one in a good text editor and adding their translations of elements between the XML tags <names>  </names> in the following style:
<name lang="de">Energietechnik</name>
        <name lang="fr">Energie</name>
        <name lang="ar">طاقة</name>
        <name lang="en">Energy</name>
        <name lang="cs">Energie</name>
        <name lang="pl">Energia</name>
        <name lang="es">Energía</name>
        <name lang="it">Energia</name>
        <name lang="el">Ενέργεια</name>
        <name lang="nl">Energie</name>
        <name lang="ru">Сантехника</name>
        <name lang="da">Energi teknik</name>

I think it is easier for new contributors or translators to use QET's integrated editor to get a vector view of the symbol represented in order to better translate the element itself!

Translated with DeepL.com (free version)

Best regards,
Laurent

16

(34 replies, posted in Elements)

plc-user wrote:

Salut Laurent,

when we want the fonts to be replaced correctly, we need to include the quote-signs into replacement!
For example:
From the original Oldtimer-Elements in the other thread, we find these font-descriptions:

Noto Sans ExtraBold,10,-1,0,81,0,0,0,0,0,Regular
Noto Sans ExtraBold,5,-1,0,81,0,0,0,0,0,Regular
Noto Sans ExtraBold,6,-1,0,81,0,0,0,0,0,Regular
Noto Sans ExtraBold,7,-1,0,81,0,0,0,0,0,Regular
Noto Sans ExtraBold,9,-1,0,81,0,0,0,0,0,Regular
Sans Serif,10,-1,0,50,0,0,0,0,0
Sans Serif,10,-1,5,50,0,0,0,0,0
Sans Serif,12,-1,0,50,0,0,0,0,0
Sans Serif,12,-1,5,50,0,0,0,0,0
Sans Serif,15,-1,5,50,0,0,0,0,0
Sans Serif,30,-1,5,50,0,0,0,0,0
Sans Serif,3,-1,5,50,0,0,0,0,0
Sans Serif,4,-1,0,50,0,0,0,0,0
Sans Serif,4,-1,5,0,0,0,0,0,0,normal
Sans Serif,4,-1,5,25,0,0,0,0,0
Sans Serif,4,-1,5,50,0,0,0,0,0
Sans Serif,5,-1,5,25,0,0,0,0,0
Sans Serif,5,-1,5,50,0,0,0,0,0
Sans Serif,6,-1,0,50,0,0,0,0,0
Sans Serif,6,-1,5,0,0,0,0,0,0,normal
Sans Serif,6,-1,5,25,0,0,0,0,0
Sans Serif,6,-1,5,50,0,0,0,0,0
Sans Serif,6,-1,5,50,0,0,0,0,0,Regular
Sans Serif,7,-1,0,50,0,0,0,0,0
Sans Serif,7,-1,5,25,0,0,0,0,0
Sans Serif,7,-1,5,50,0,0,0,0,0
Sans Serif,8,-1,5,0,0,0,0,0,0,normal
Sans Serif,8,-1,5,50,0,0,0,0,0
Sans Serif,9,-1,0,50,0,0,0,0,0
Sans Serif,9,-1,5,0,0,0,0,0,0,normal
Sans Serif,9,-1,5,50,0,0,0,0,0
Sans Serif,9,-1,5,50,0,0,0,0,0,Regular

Just looking at the last two lines we see double ... but not quite:
One font-string ends with a number and the other font-string also includes ",Regular".
If we only replace this

Sans Serif,9,-1,5,50,0,0,0,0,0

by this

Liberation Sans,9,-1,5,50,0,0,0,0,0,Regular

the last line would be changed to

Liberation Sans,9,-1,5,50,0,0,0,0,0,Regular,Regular

what would be wrong!

Inserting an additional element-name is another topic...

Hallo plc-user

so maybe this command work

find . -name "*.elmt" -exec  sed -i -e 's/Sans Serif,/Liberation Sans,/g' {} \;

17

(236 replies, posted in News)

Bonjour Laurent,

Je m'appelle Antoni Mxxxxxxxxxxxx et j'ai traduit Qelectrotech en
catalan. Je suis professeur de formation professionnelle à une
trentaine de kilomètres au nord de Barcelone, sur la côte, en Catalogne.
J'utilise Qelectrotech pour enseigner à mes élèves la réalisation de
schémas électriques, pneumatiques et hydrauliques. Je leur enseigne
également Eplan. L'apprentissage initial avec Qelectrotech est beaucoup
plus simple et me permet de leur enseigner Eplan après . Par la suite, ils
ou leurs entreprises feront le choix.

D'autre part, mes étudiants et moi avons pris une photo pour remercier la
communauté Qelectrotech de son travail. C'est un excellent outil
pédagogique pour nous.

Cordialement

Antoni

https://download.qelectrotech.org/qet/forum_img_2/2025-2026-1CSMI.jpg

Merci grandement au nom de l’ensemble de la communauté QET à toi Antoni pour ton enseignement et aussi pour ton travail de traduction, merci aussi à tes étudiants qui ont pris la pose avec toi chaleureusement, nomicons/wink ils seront nos futurs ingénieurs dans l'industrie.

L’ensemble de la communauté QET vous souhaites de passer de bonnes fêtes de fin d'année afin de vous reposer, de profiter de ces moments chaleureux avec vos familles et vos proches.

Et!, si vous en avez encore la force! de vous amusez pendant ces fêtes... pensez à faire de beaux schémas de vos futurs prototypes d'ingénieries, pendant que vous les avez encore en tête...


Q'importe le logiciel, QET ou Eplan, sans oublier FreeCad, KiCad, LibreCad, QCad, etc... dessinez, concevez et réalisez vos rêves d’ingénierie... les plus fous ... pour un monde meilleur!

Enjoy! nomicons/wink

Best regards,
Laurent

C'est loin d’être dans les mêmes menus, non?
menu ->project .https://download.qelectrotech.org/qet/m … tings.html
menu-> configuration
https://download.qelectrotech.org/qet/m … ences.html

Le menu ->project ..........et le menu-> configuration c'est bien deux choses différentes... une qui s’appliquera au projet encours et ouvert, l'autre dans la config pour les prochains projets...

19

(34 replies, posted in Elements)

See also merge_it script.

20

(34 replies, posted in Elements)

Hallo plc-user

I was added in 2013 this note for future...

cat patcher\ traduction.txt 
./apply_translation_diff.sh ~/qet_directory/diff.tmp
./set_name.sh elements/capteurs/actionneurs/bvs_oi-3-001-e.elmt es 'BVS OI-3-001-E'

./translations_stat.sh force

elementsA = Antoni_catalan translated

diff -urPp elementsA/ elements/ > 02sources.patch
./apply_translation_diff.sh /home/laurent/qet_element_moderation/Nouveau_dossier4/02sources.diff &> output.txt

Gruß

Laurent

plc-user wrote:

As a new user you should use QET 0.100-dev to be able to use Liberation-fonts, so that your Elements and Plans are compatible with other systems and users!

If someone can write a good changelog,maybe with Ai?  I can release the new version 0.100 and replace the old version 0.90, which does not work well. and have many bugs fixed since .

This work can be very easy for those who are proficient in AI prompts and have prepaid accounts.

22

(34 replies, posted in Elements)

After using many find + sed commands and finish with kate editor I can change the font to Liberation Sans in Catanlan translation element directory but the diff to push to master was 2 X the entire size off collection like 145 Mio only the patch????!!!!!

[17:04:44] laurent@debian:~$ history | grep find
 
8596  find . -name "*.elmt" -exec sh -c sed -i'/font=/{n;s/Sans Serif,9,-1,5,50,0,0,0,0,0/Liberation Sans,9,-1,5,50,0,0,0,0,0,Regular/}'
8597  find . -name "*.elmt" -exec sh  sed -i'/font=/{n;s/Sans Serif,9,-1,5,50,0,0,0,0,0/Liberation Sans,9,-1,5,50,0,0,0,0,0,Regular/}'
 
8670  find . -name "*.elmt" -exec  sed -i -e 's/Sans Serif,10,-1,5,50,0,0,0,0,0/Liberation Sans,10,-1,5,50,0,0,0,0,0,Regular/g' {} \;
8671  find . -name "*.elmt" -exec  sed -i -e 's/Sans Serif,8,-1,5,50,0,0,0,0,0/Liberation Sans,8,-1,5,50,0,0,0,0,0,Regular/g' {} \;
8672  find . -name "*.elmt" -exec  sed -i -e 's/Sans Serif,7,-1,5,50,0,0,0,0,0/Liberation Sans,7,-1,5,50,0,0,0,0,0,Regular/g' {} \;
8673  find . -name "*.elmt" -exec  sed -i -e 's/Sans Serif,6,-1,5,50,0,0,0,0,0/Liberation Sans,6,-1,5,50,0,0,0,0,0,Regular/g' {} \;
8674  find . -name "*.elmt" -exec  sed -i -e 's/Sans Serif,5,-1,5,50,0,0,0,0,0/Liberation Sans,5,-1,5,50,0,0,0,0,0,Regular/g' {} \;
8734  find . -name "*.elmt" -exec  sed -i -e 's/Sans Serif,5,-1,5,50,0,0,0,0,0,normal/Liberation Sans,5,-1,5,50,0,0,0,0,0,Regular/g' {} \;
.....................

https://download.qelectrotech.org/qet/s … onts.patch

What interests us is just extracting the Catalan translation strings from the diff.

See Xavier script's perl here: https://download.qelectrotech.org/qet/scripts/

BTW, we used these this perl scripts 15 years ago, now my memory fails me.



Note regarding the translation of elements: do not use the QET editor, but manually edit the elmt file using a text editor and add your country tag to the XLM file. Use spaces rather than tabs for alignment.
If you are using the QET Qt 5 editor, XML attributes will be saved randomly by default. This is a requirement requested by some to Qt 's team to avoid hacks, but in our case, the diff file is very large and incomprehensible...

Example:

<definition hotspot_x="35" hotspot_y="25" version="0.100.0" type="element" height="50" width="70" link_type="simple">
    <uuid uuid="{2b9f2e91-da08-497d-b065-bd2d68d716d9}"/>
    <names>
        <name lang="ca">Filtre</name>
        <name lang="fr">Filtre</name>
        <name lang="en">Filter</name>
        <name lang="es">Filtro</name>
        <name lang="nl">Filter</name>
        <name lang="it">Filtro</name>
        <name lang="ar">مُرشّح</name>
        <name lang="pl">Filtr</name>
        <name lang="cs">Filtr</name>
        <name lang="el">Φίλτρο</name>
    </names>
    <elementInformations/>

23

(34 replies, posted in Elements)

Hallo plc-user:
have you keep your script to change font family like https://github.com/qelectrotech/qelectr … c1c3d5e4e, for merging again Catalan elements translation provided by Antoni?
Like example:

find . -name "*.elmt" -exec  sed -i -e 's/Sans Serif,9,-1,5,50,0,0,0,0,0/Liberation Sans,9,-1,5,50,0,0,0,0,0,Regular/g' {} \;


Best regards,
Laurent

24

(34 replies, posted in Elements)

@S.DEFFAUX: merci si tu peux y travailler, mais pour l'instant j'ai reçu la traduction en Catalan de Antoni des éléments:
https://download.qelectrotech.org/qet/s … nts.tar.xz

Malheureusement, le merge sur le Github casse le travail de plc-user sur les fonts j'ai donc du faire un revert:
https://github.com/qelectrotech/qelectr … 0d42cac99e
https://github.com/qelectrotech/qelectr … da3b50363a

Il faudrait faire un diff des deux dossiers celui du dépôt et de celui de la traduction afin d'extraire que les chaines des éléments dans le but d'avoir un merge propre;

exemple
<name lang="ca">Enllaç sortint</name>

Voir ces deux scripts de Xavier qui pourraient peut-etre rendre le travail de patch plus facile?
https://download.qelectrotech.org/qet/s … om_diff.sh
https://download.qelectrotech.org/qet/s … on_diff.sh

Je n'ai pas le temps ce W.E d'y travailler, si ça intéresse quelqu'un?
    -

25

(34 replies, posted in Elements)

https://www.facebook.com/oigorguimaraes … 021322171/