Very very old documentation :
https://qelectrotech.org/wiki_new/doc/x … t_elements
https://qelectrotech.org/wiki_new/doc/x … s_elements

2,802

(3 replies, posted in Code)

We hope. ;-)

2,803

(5 replies, posted in Code)

The Github is a mirror of the main QET repository, which is hosted at tuxfamily.org. Upstream repository: https://git.tuxfamily.org/qet/qet.git/

But user can fork it, work on code or translation and send me a PR (pull request) I can validate and push to GIT master.

For the correction of the names of the elements it is advisable to open the .elmt file with a text editor and modify example :

<names>
        <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>
    </names>

<names>
        <name lang="en">3-way motorized valve</name>
        <name lang="fr">Vanne 3 Voies</name>
        <name lang="ar">صمّام ب 3 مسارات مُحرّك</name>
        <name lang="it">Valvola 3vie motorizzata</name>
        <name lang="pl">Zawór trójdrożny z napędem</name>
        <name lang="es">Válvula motorizada de 3 vías</name>
        <name lang="nl">klep motor 3</name>
        <name lang="cs">Trojcestný ventil s pohonem</name>
    </names>

If you are using the element editor you are rewriting all XML and the patch is unreadable. I do not recommend it.

2,804

(3 replies, posted in Code)

When the project started in 2007 with Qt 4 there was only Qt Widget and after then Qt Quick ~ Qt 5 and now QML.

Performance and Coding
As such, Qt Widgets could be considered low-level compared to Qt Quick. But this implies that in the long run, a Qt Widgets project will run faster and have better performance. Being low-level can be good though, as Qt Widgets is more exposed to native API (the QtCore module, Qt Style Sheets, etc). That said, it is often used for desktop development.

Qt Quick caters more to mobile development (although it can still be used in desktop development). It has ready-to-use popups, animations, tabs and layouts, flickables, drawers, and the usual controls; all ubiquitous in mobile development.

Maybe update pugixml to master?
https://github.com/zeux/pugixml/commits/master/src

I tried to saw if QET run faster under Windows if we compile it with Qt for MSVC.

Very complicated with Visual Studio and I prefer to stop, we'll see later.

https://forum.qt.io/post/520338
https://community.kde.org/Guidelines_an … ce/Windows
https://community.kde.org/KDEConnect/Build_Windows

2,809

(60 replies, posted in Code)

Is great on my UHD screen.
If you could merge it. ;-)

2,810

(3 replies, posted in Le petit monde de la scolarité)

Bonsoir,

Sinon, est-il possible de partager des bibliothèques personnelles ?
J'ai créé des objets pour construire des Grafcet et SADT en mode "pick and place",
et j'aimerais les partager facilement sur le parc informatique du CFA.

Oui il est très facile de les partager il suffit de les récupérer de ta collection utilisateur, les autres utilisateurs n'ayant ensuite qu'a les rajouter dans leur collection personnelle.

Sous Windows avec l'installateur le chemin est :
c:\users\user_name\AppData\Roaming\qet\elements\

Hum Debian 8 ... very old and QElectroTech version on this Debian official repositories also very very old.
Why not install a recent Debian version?
Maybe you could get AppImage
Just wget and chmod +x to make it executable.

https://download.qelectrotech.org/qet/builds/AppImage/

Ok, fixed..
nmake /I
nmake  install /I

Humm try to compile with visual studio 2019 under Win10 ..
https://github.com/drawpile/Drawpile/wi … om-sources

[ 18%] Building CXX object src/lib/CMakeFiles/KF5CoreAddons.dir/text/kmacroexpander_win.cpp.obj
kmacroexpander_win.cpp
[ 19%] Building CXX object src/lib/CMakeFiles/KF5CoreAddons.dir/util/klistopenfilesjob_win.cpp.obj
klistopenfilesjob_win.cpp
[ 19%] Building CXX object src/lib/CMakeFiles/KF5CoreAddons.dir/util/kprocesslist_win.cpp.obj
kprocesslist_win.cpp
[ 20%] Building CXX object src/lib/CMakeFiles/KF5CoreAddons.dir/util/kshell_win.cpp.obj
kshell_win.cpp
[ 20%] Building CXX object src/lib/CMakeFiles/KF5CoreAddons.dir/util/kuser_win.cpp.obj
kuser_win.cpp
[ 21%] Building CXX object src/lib/CMakeFiles/KF5CoreAddons.dir/ECMQmLoader-kcoreaddons5_qt.cpp.obj
ECMQmLoader-kcoreaddons5_qt.cpp
[ 21%] Building CXX object src/lib/CMakeFiles/KF5CoreAddons.dir/kcoreaddons_debug.cpp.obj
kcoreaddons_debug.cpp
[ 22%] Linking CXX shared library ..\..\bin\KF5CoreAddons.dll
LINK Pass 1: command "C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\bin\Hostx86\x86\link.exe /nologo @CMakeFiles\KF5CoreAddons.dir\objects1.rsp /out:..\..\bin\KF5CoreAddons.dll /implib:..\..\lib\KF5CoreAddons.lib /pdb:C:\Users\laurent\Downloads\kcoreaddons-master\kcoreaddons-master\build\bin\KF5CoreAddons.pdb /dll /version:5.73 /machine:X86 /debug /INCREMENTAL C:\Qt\5.15.0\msvc2019_64\lib\Qt5Cored.lib netapi32.lib userenv.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\KF5CoreAddons.dir/intermediate.manifest CMakeFiles\KF5CoreAddons.dir/manifest.res" failed (exit code 1112) with the following output:
Qt5Cored.lib(Qt5Cored.dll) : fatal error LNK1112: type d'ordinateur module 'x64' en conflit avec le type d'ordinateur cible 'x86'
NMAKE : fatal error U1077: '"C:\Program Files\CMake\bin\cmake.exe"' : code retour '0xffffffff'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX86\x86\nmake.exe"' : code retour '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX86\x86\nmake.exe"' : code retour '0x2'
Stop.

2,814

(60 replies, posted in Code)

Maybe this:

We use pugixml https://pugixml.org/
https://qelectrotech.org/forum/viewtopi … 109#p11109

Some benchmarks :

Under my Debian Sid  devel machine :

Qtxml enable
Le chargement de la collection d'éléments à été éffectué en 798 ms

pugixml enable
Le chargement de la collection d'éléments à été éffectué en 471 ms


AppImage

Qtxml enable
e chargement de la collection d'éléments à été éffectué en 782 ms


pugixml enable
Le chargement de la collection d'éléments à été éffectué en 540 ms

https://github.com/zeux/pugixml/issues/96

https://git.tuxfamily.org/qet/qet.git/t … ig.hpp#n20

2,816

(60 replies, posted in Code)

Tried on Win10 VM  3840x2160 screen the widget is so very big, widget button is always on taskbar..

2,817

(16 replies, posted in EN : Help, suggestions, discussions, ...)

I removed this packages, checked 64 bits package x86_64-w64-mingw32.static.posix.seh not stable and too fragile and often crashes...

https://forum.qt.io/topic/109709/speed- … ication/17

Maybe use Msvc compiler, if someone can try it?

https://git.tuxfamily.org/qet/qet.git/c … 2289c9d393
https://git.tuxfamily.org/qet/qet.git/c … e0d3bb1186

./count_elements.sh
7321 elements dans 1023 categories (soit 8344 fichiers)

2,822

(60 replies, posted in Code)

Done.

2,823

(3 replies, posted in Code)

Yes you can help to improve QET under Windows.

2,824

(60 replies, posted in Code)

Yes!

And for QET team use
git clone ssh://your TuxFamily login@git.tuxfamily.org/gitroot/qet/qet.git

2,825

(16 replies, posted in EN : Help, suggestions, discussions, ...)

Please try https://download.qelectrotech.org/qet/b … 0-07-24-1/

i686-w64-mingw32.static.posix.sjlj for 32 bits package.
x86_64-w64-mingw32.static.posix.seh for 64 bits package.

https://www.opencascade.com/content/mingw-w64-vs-msvc

To compare performance, I have run all OCCT tests in sequential (single process) mode. The results are as follows:

Compiler       | Build time | DLL size | All tests run time | CPU diff, % |
----------------------------------------------------------------
MSVC 2010      |   29 min   | 63348 Kb |      6 h 04 min    |      0      |
MSVC 2017      |   30 min   | 62021 Kb |      5 h 55 min    |     -2%     |
Mingw-w64 SEH  |   30 min   | 61716 Kb |      6 h 07 min    |     +1%     |
Mingw-w64 SJLJ |   35 min   | 78516 Kb |      7 h 42 min    |    +38%     |