De-Backer wrote:

I made a start for the wiki:
https://github.com/De-Backer/qelectrote … irror/wiki

I copied your pages, tomorrow I will add you if you want to write on the Github Wiki.
https://github.com/qelectrotech/qelectr … irror/wiki

2,977

(317 replies, posted in News)

FYI, I upgraded, PunBB forum, Dokuwiki and Mantis BT bugtracker, enjoy!

Hi Unalcalde,

'folioSheetQuantity' value was removed recently in project XML, and break qet_tb_generator:
https://git.tuxfamily.org/qet/qet.git/c … 196277a5d5


Traceback (most recent call last):
  File "/usr/bin/qet_tb_generator", line 11, in <module>
    load_entry_point('qet-tb-generator==1.1.5', 'console_scripts', 'qet_tb_generator')()
  File "/usr/lib/python3/dist-packages/src/main.py", line 840, in main
    qet_project = QETProject(qet_file)  # allows working with a QET XML file.
  File "/usr/lib/python3/dist-packages/src/qetproject.py", line 80, in __init__
    self.pageOffset = int (self.qet_project.attrib
KeyError: 'folioSheetQuantity'
Traceback (most recent call last):
  File "qet_tb_generator.py", line 9, in <module>
  File "src/main.py", line 840, in main
  File "src/qetproject.py", line 80, in __init__
KeyError: 'folioSheetQuantity'
[5263] Failed to execute script qet_tb_generator

Workaround add folioSheetQuantity="0" like this:
<project title="Example project" folioSheetQuantity="0" version="0.80">
before opening project to launch with qet_tb_generator.


https://github.com/qelectrotech/qet_tb_ … ect.py#L79

Martin is working on this feature https://github.com/Murmele/qelectrotech-source-mirror
https://framaestro.org/p/#MTM1NDk1/qele … lang%3Den;

2,980

(5 replies, posted in Code)

Added, thanks Aleksander. ;-)
https://git.tuxfamily.org/qet/qet.git/c … 80c637398b

https://packages.debian.org/de/jessie/qelectrotech

2010 QElectroTech version.. and there was no German translation on this very very old version.
https://metadata.ftp-master.debian.org/ … _changelog

https://tracker.debian.org/pkg/qelectrotech

Not much time for the next few days, but I'll try to find some. ;-)

2,983

(15 replies, posted in Code)

Wonderful, I'm can't way to try it. ;-)
https://user-images.githubusercontent.com/48631375/88574189-d5fc0c80-d039-11ea-839f-0a12764f2f34.png

https://qelectrotech.org/forum/viewtopi … 5541#p5541

De-Backer wrote:

scorpio810
what is the oldest QT version you still compile?

Qt 5.9 for Ubuntu Bionic LTS.
https://packages.ubuntu.com/fr/bionic/qt5-qmake
https://wiki.ubuntu.com/Releases

End of Standard Support .... April 2023 ... we will be obliged to drop it before

Interesting book:
https://www.amazon.com/dp/1789531241

The search engine filter also on the country language of application selected by user to matche elements name in the query, example :  "bobine" if french language is actived, switch country to english in setting, reload collection and retry your querry with "coil"and see.

The multi-language wiki was broken during an update. The translated pages no longer appear in the switch.

https://qelectrotech.org/wiki_new/start?do=index

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

2,989

(3 replies, posted in Code)

We hope. ;-)

2,990

(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,991

(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,996

(60 replies, posted in Code)

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

2,997

(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.