Very very old documentation :
https://qelectrotech.org/wiki_new/doc/x … t_elements
https://qelectrotech.org/wiki_new/doc/x … s_elements
2,801 2020-07-26 22:14:51
Re: QElectrotech is freezing / loading time library elements (55 replies, posted in Code)
2,803 2020-07-26 15:36:50
Re: github (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 2020-07-26 15:20:24
Re: What about QML? (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.
2,805 2020-07-26 15:03:25
Re: QElectrotech is freezing / loading time library elements (55 replies, posted in Code)
Maybe update pugixml to master?
https://github.com/zeux/pugixml/commits/master/src
2,806 2020-07-26 11:48:28
Re: QElectrotech is freezing / loading time library elements (55 replies, posted in Code)
I tried to saw if QET run faster under Windows if we compile it with Qt for MSVC.
2,807 2020-07-26 11:18:45
Re: QElectrotech is freezing / loading time library elements (55 replies, posted in Code)
Very complicated with Visual Studio and I prefer to stop, we'll see later.
2,808 2020-07-26 09:52:42
Re: QElectrotech is freezing / loading time library elements (55 replies, posted in Code)
2,809 2020-07-25 22:01:23
Re: Resizing of border line of software (60 replies, posted in Code)
Is great on my UHD screen.
If you could merge it. ;-)
2,810 2020-07-25 21:45:39
Re: Gamme de prise en main (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\
2,811 2020-07-25 21:17:32
Re: QElectroTech auf deutsch (9 replies, posted in DE : Hilfe, Vorschläge, Unterhaltungen...)
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.
2,812 2020-07-25 20:53:21
Re: QElectrotech is freezing / loading time library elements (55 replies, posted in Code)
Ok, fixed..
nmake /I
nmake install /I
2,813 2020-07-25 20:45:01
Re: QElectrotech is freezing / loading time library elements (55 replies, posted in Code)
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 2020-07-25 14:44:09
Re: Resizing of border line of software (60 replies, posted in Code)
Maybe this:
2,815 2020-07-25 11:27:36
Re: QElectrotech is freezing / loading time library elements (55 replies, posted in Code)
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 mspugixml 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 mspugixml enable
Le chargement de la collection d'éléments à été éffectué en 540 ms
2,816 2020-07-25 10:26:40
Re: Resizing of border line of software (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 2020-07-25 10:24:18
Re: SW freezing (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...
2,818 2020-07-24 19:41:38
Re: QElectrotech is freezing / loading time library elements (55 replies, posted in Code)
2,819 2020-07-24 19:27:10
Re: QElectrotech is freezing / loading time library elements (55 replies, posted in Code)
Maybe use Msvc compiler, if someone can try it?
2,820 2020-07-24 16:53:54
Re: QElectrotech is freezing / loading time library elements (55 replies, posted in Code)
2,821 2020-07-24 16:34:19
Re: QElectrotech is freezing / loading time library elements (55 replies, posted in Code)
./count_elements.sh
7321 elements dans 1023 categories (soit 8344 fichiers)
2,822 2020-07-24 15:35:23
Re: Resizing of border line of software (60 replies, posted in Code)
Done.
2,823 2020-07-24 15:28:15
Re: Mod version name (3 replies, posted in Code)
Yes you can help to improve QET under Windows.
2,824 2020-07-24 15:25:03
Re: Resizing of border line of software (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 2020-07-24 12:43:17
Re: SW freezing (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% |