Fix: Now QET can found and launch qet_tb_generator plugin without scratched under python 3.11 and tkinter.
https://qelectrotech.org/forum/viewtopi … 955#p20955
326 2025-02-02 16:45:03
Re: Flatpak packages 0.100-dev (32 replies, posted in News)
327 2025-02-02 16:31:51
Re: Set Config- and Data-Directory to system-specific paths (21 replies, posted in Code)
FYI, Fix qet_tb_generator segfault on my flatpak repository
https://github.com/qelectrotech/qelectr … 7fd76444da
Now QET can found and launch qet_tb_generator plugin without segfault under python 3.11 and tkinter on
/var/lib/flatpak/app/org.qelectrotech.QElectroTech/x86_64/master/active/files/qet_tb_generator.
laurent@debian:/var/lib/flatpak/app/org.qelectrotech.QElectroTech/x86_64/master/active/files/bin$ ls -al
total 8240
drwxr-xr-x 2 root root 4096 1 janv. 1970 .
drwxr-xr-x 7 root root 4096 2 févr. 15:21 ..
-rwxr-xr-x 2 root root 8353048 2 févr. 15:21 qelectrotech
-rwxr-xr-x 2 root root 206 8 mai 2024 qet_tb_generator
-rwxr-xr-x 2 root root 30392 16 oct. 2023 sqlite3_analyzer
-rwxr-xr-x 2 root root 14520 8 mai 2024 tclsh8.6
-rwxr-xr-x 2 root root 14520 8 mai 2024 wish8.615:22:08.989 Info: success so far: false - now searching for "/home/laurent/.var/app/org.qelectrotech.QElectroTech/data/QElectroTech/QElectroTech/binary/qet_tb_generator"
15:22:08.989 Info: success so far: false - now searching for "/home/laurent/qet_git/qet_tb_generator"
15:22:08.989 Info: success so far: false - now searching for "/home/laurent/.qet/qet_tb_generator"
15:22:08.989 Info: success so far: false - now searching for "/app/bin/qet_tb_generator"
15:22:09.007 Info: success so far: true - now searching for "qet_tb_generator"
15:22:09 INFO QET Terminal Block Generator - v1.3.1 [main.main:840]
15:22:09 INFO Using the file: /home/laurent/qet_git/examples/industrial.qet [main.get_QET_fullpath:189]Edit: since new plc-user PR: https://github.com/qelectrotech/qelectr … r/pull/341
15:53:55.999 Info: Elements collection finished to be loaded
15:54:00.369 Info: project to use for qet_tb_generator: "/home/laurent/qet_git/examples/industrial.qet"
15:54:00.370 Info: qet_tb_generator not found : "/home/laurent/.var/app/org.qelectrotech.QElectroTech/data/QElectroTech/QElectroTech/binary/qet_tb_generator"
15:54:00.370 Info: qet_tb_generator not found : "/home/laurent/qet_git/qet_tb_generator"
15:54:00.370 Info: qet_tb_generator not found : "/home/laurent/.qet/qet_tb_generator"
15:54:00.389 Info: qet_tb_generator found here: "/app/bin/qet_tb_generator"
15:54:00 INFO QET Terminal Block Generator - v1.3.1 [main.main:840]
15:54:00 INFO Using the file: /home/laurent/qet_git/examples/industrial.qet [main.get_QET_fullpath:189]
328 2025-02-02 15:26:49
Re: qet-tb-generator install linux using python3 -m venv (9 replies, posted in Terminal block generator)
Maybe with create your pyton virtual env?
python3 -m venv venv/ && source venv/bin/activate pip install qet_tb_generator laurent@debian:~$ whereis qet_tb_generator qet_tb_generator: /home/laurent/venv/bin/qet_tb_generatorWhen you need qet_tb_generator activate your virtual env before.
by
source venv/bin/activate(venv) [14:20:26] laurent@debian:~$ whereis qet_tb_generator
qet_tb_generator: /home/laurent/venv/bin/qet_tb_generator
(venv) [14:27:18] laurent@debian:~$ Now in the same terminal launch QET
qelectrotechExample here
(venv) [14:20:26] laurent@debian:~$ qelectrotech
14:19:59.059 Info: project to use for qet_tb_generator: "/home/laurent/Qet-svn/git/qet/examples/industrial.qet"
14:19:59.059 Info: success so far: false - now searching for "/home/laurent/.local/share/QElectroTech/QElectroTech/binary/qet_tb_generator"
14:19:59.059 Info: success so far: false - now searching for "/home/laurent/qet_tb_generator"
14:19:59.059 Info: success so far: false - now searching for "/home/laurent/.qet/qet_tb_generator"
14:19:59.059 Info: success so far: false - now searching for "/home/laurent/venv/bin/qet_tb_generator"
14:19:59.091 Info: success so far: true - now searching for "qet_tb_generator"
14:19:59 INFO QET Terminal Block Generator - v1.3.1 [main.main:840]Maybe edit QET launcher to ?
source venv/bin/activate && qelectrotech %F
329 2025-02-02 08:42:28
Re: Indonesian videos (3 replies, posted in Videos howto)
330 2025-01-30 12:31:58
Re: Cannote find Sqlite dev package linux, but its installed (5 replies, posted in Code)
grep ^processor /proc/cpuinfo | wc -l
48I don't have 48 cores only Hyper-Threading Technology!
24 cores = 48 threads for this CPU.
Setup AMD 3960X it's very very old now but compile quickly still QET in 28 seconds. 150W en idle...
~600 W when I use all cores ... like make -j 48.
I think the new mainstream AMD hardware performs better... for less power...
It's very usefull like build all tool-chain cross-compilation like MXE env, instead of the machine compiling continuously in 8 hours, it's done in about 1 hour.
331 2025-01-30 12:20:15
Re: recherche vignette (2 replies, posted in FR : Aide, suggestions, discussions, ...)
Voir sur le depot contrib ou il y a beaucoup d'autres symboles.
https://download.qelectrotech.org/qet/e … index.html
332 2025-01-30 12:08:46
Re: Cannote find Sqlite dev package linux, but its installed (5 replies, posted in Code)
sudo apt install qtbase5-dev, qt5-qmake, libqt5svg5-dev, libkf5widgetsaddons-dev, libkf5coreaddons-dev libsqlite3-devgit clone --recursive https://github.com/qelectrotech/qelectrotech-source-mirror.git qet
cd qet
mkdir build && cd build
qmake ../qelectrotech.pro
make -j48
333 2025-01-30 11:53:26
Re: Nommer un potentiel une seule fois (2 replies, posted in FR : Aide, suggestions, discussions, ...)
Bonjour Vétéa,
il suffit cocher un seul texte par potentiel soit dans la config générale soit dans la config du projet pour les nouveaux folios.
Je pense qu'il faudra que tu supprimes et reconnectes tes conducteurs une fois l'option activée pour que ça fonctionne sur les folios en place déjà dessinés.
https://download.qelectrotech.org/qet/m … uctor.html
334 2025-01-30 08:21:50
Re: Set Config- and Data-Directory to system-specific paths (21 replies, posted in Code)
Hallo plc-user,
"qet_tb_plugin" isn't easy to found:
On Windows you can make a binary.exe but all antirus refuse them...
https://qelectrotech.org/forum/viewtopi … 141#p17141
https://qelectrotech.org/forum/viewtopi … 150#p17150
Now it's more complicated under Debian like, they require you to install python in a virtual venv, see:
https://qelectrotech.org/forum/viewtopic.php?id=2861
335 2025-01-29 18:07:58
Re: Set Config- and Data-Directory to system-specific paths (21 replies, posted in Code)
Salut Laurent !
Didn't find any new Debian-Packages on QET-Repo but my local created binary works very well with the latest changes!
I rebuilt the Debian packages, perhaps I was very tired or in too much of a hurry at lunchtime when I pushed them ...
Best regards,
Laurent
336 2025-01-29 16:04:20
Re: Set Config- and Data-Directory to system-specific paths (21 replies, posted in Code)
Hallo plc-user and thanks,
merged and package it for Debian, Ubuntu PPA, windows, please could you check-it?
No news about Joshua since november 2024. The delicate operation on his partner's severely damaged vertebrae went well and she is gradually recovering.
I was slow to reply, but I haven't heard from her since.
I hope he'll read this. And that they're well.
Best regards,
Laurent
337 2025-01-29 08:07:45
Re: get-tb-generator (4 replies, posted in DE : Hilfe, Vorschläge, Unterhaltungen...)
338 2025-01-28 18:19:17
Re: Set Config- and Data-Directory to system-specific paths (21 replies, posted in Code)
Hallo plc-user,
i just published all packages, please try and check.
I don't publish arm64 macOS at this time. maybe this week...
Thanks,
Laurent
339 2025-01-27 21:05:10
Re: Some issues in creating a circuit diagram (5 replies, posted in EN : Help, suggestions, discussions, ...)
https://www.kreativekiste.de/schaltplan … lectrotech
The programme has really taken a step forward since version 7. I still don't think the program is as intuitive to use as other programs. BUT, once you get the hang of it, for example with cross-references or text fields, then you won't want to work with any other program. BECAUSE QElectroTech's greatest advantage is its universal user-friendliness, which takes a bit more work at first but once you've got the hang of it, you can really work with it.
340 2025-01-27 20:38:52
Re: Some issues in creating a circuit diagram (5 replies, posted in EN : Help, suggestions, discussions, ...)
341 2025-01-27 20:30:50
Re: Some issues in creating a circuit diagram (5 replies, posted in EN : Help, suggestions, discussions, ...)
342 2025-01-27 20:11:49
Re: Set Config- and Data-Directory to system-specific paths (21 replies, posted in Code)
A short manual for the transition from old to new locations of config- and data-directories.
In the following blocks you find the changes, that have to be made by the user.
If you are missing any information or have found an error, please let us know!
Hi plc-user and thanks for your little manual for the transition,
I will try to do it for macOS, maybe next week if I have time,
but I have to install a new macOS VM on my mac Mini and install december QET and compare the old locations with new QET version's files PATH . But if someone can do it, I'd be relieved
343 2025-01-27 07:16:05
Re: Discussion sur la nomenclature intégré (26 replies, posted in FR : Aide, suggestions, discussions, ...)
Coucou, je suis Pércylès, Automaticien sur du multi-marques (Schneider, Kieback, SOFREL, WAGO, Trend, Distech ...) et je me sers de votre logiciel depuis très très longtemps.
Bonjour Pércylès et bienvenu,
Si je pouvais modifier les intitulés de Label, installation, N°articles et les autres pour les remplacer par ce qui est attendu sur mon logiciel de programmation et ainsi, faciliter pour mes collègues et moi-même les renseignements à fournir et retrouver une certaine correspondance entre qelectrotech et le logiciel de prog schneider.
voir:
https://qelectrotech.org/forum/viewtopi … 256#p16256
SELECT comment AS 'References', COUNT(comment) AS 'Quantités', description, manufacturer FROM element_nomenclature_view WHERE ( element_type = 'simple' OR element_sub_type = 'commutator' OR element_sub_type = 'coil' OR element_sub_type = 'protection') AND comment != '' AND label != '' GROUP BY comment ORDER BY COUNT(comment) DESC
Explications :
Je veux que le titre soit Références et non comment.
comment AS 'References'
Laurent
344 2025-01-26 20:20:01
Re: NO_PUBKEY BC9F825E1D4FB6C1 - Download for Debian Bookworm (16 replies, posted in Platform-specific problems, Linux!)
Strange, again?
see --> Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details
345 2025-01-26 15:49:26
Re: Impression A3 (1 replies, posted in FR : Aide, suggestions, discussions, ...)
Bonsoir ,
tu n'as pas de soucis a te faire le logiciel s'adaptera quelque soit la taille de la sortie papier tout comme quand tu veux imprimer une photo, tu sélectionnes le format papier, la marge et fait un aperçu avant l'impression.
346 2025-01-26 08:47:00
Re: Set Config- and Data-Directory to system-specific paths (21 replies, posted in Code)
Hallo plc-user,
I can't remember, I think it's been from the beginning...
I've always hated DesktopLocation... which saves the default project under Desktop! So I prefer to "save it" to others PATH.
Change can be easy, like this:
--- sources/qetproject.cpp
+++ sources/qetproject.cpp
@@ -369,7 +369,7 @@ QString QETProject::currentDir() const
{
QString current_directory;
if (m_file_path.isEmpty()) {
- current_directory = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation);
+ current_directory = QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation);
} else {
current_directory = QFileInfo(m_file_path).absoluteDir().absolutePath();
}
Best regards
laurent
Edit :
https://github.com/qelectrotech/qelectr … 4db6af63a1
And
347 2025-01-25 18:57:36
Re: Different wires connected to the same terminal (11 replies, posted in EN : Help, suggestions, discussions, ...)
scorpio810 wrote:Only when you connect a 1.5mn² wire, for example, to a large busbar or repartitor but of course your wire is protected downstream by a 10A fuse will you have to cheat with a non-terminal type symbol to connect them together.
Is there a library part for a Series Terminal Block with different Size?
Generic:
https://download.qelectrotech.org/qet/e … index.html
348 2025-01-24 16:55:11
Re: Set Config- and Data-Directory to system-specific paths (21 replies, posted in Code)
Hallo plc-user,
As expected, things aren't going so well
Um, Maybe I think I made a a little mistake when merging your PR, there are a lot of things to re-set,like elements, ect locations PATH, the location of binary plugin collections, the path in the logs now was wrong, and so on.
DXF2elmt Binary or QETelementScaler offers me this PATH now on my Debian: /home/laurent/.local/share/QElectroTech/QElectroTech/binary/
Sometimes you have to demolish everything in order to rebuild better. ![]()
Best regards,
Laurent
349 2025-01-24 12:45:33
Re: sorting order terminals (19 replies, posted in Terminal block generator)
Édites ton ancien post, et tu devrais voir choisir un fichier et le joindre.
350 2025-01-24 12:18:49
Re: sorting order terminals (19 replies, posted in Terminal block generator)
Bonjour Thomas,
ton projet contient des logos SVG dans les cartouches?
Si tu as un backup fonctionnel de ce projet, regardes si tu peux le partager ici.
