Re: Nouveautés de la version de développement 0.9 and 0.100.0 -0.100.1

scorpio810 wrote:

https://www.qt.io/blog/commercial-lts-q … 9-released

Wait one year...

https://www.qt.io/blog/extended-securit … s-may-2025

Houston, we have a problem!!!!!

Standard support for Qt 5.15 will end after 26th of May 2025, as communicated earlier. After the support period, the release will be in EoS (End of Support) state and will only be supported through additional services, including Extended Security Maintenance for Qt 5.15, Extended Support, and Professional Services. Customers distributing applications and embedded devices using Qt 5.15 software should evaluate how to access technical support and maintenance patches which may include security fixes. Standard commercials terms still apply after End of Support.

https://github.com/qelectrotech/qelectr … issues/402

Qt5 is now declared deprecated in Gentoo
At this point in time, Linux distributions are starting to track which packages are blocking a future Qt5 cleanup. Real Qt Company OSS support stopped back in 2020, when public availability of LTS releases started to be delayed for 1 year, stable branch repository access got closed down (with 5.15 branch repository receiving any new LTS tag one year after commercial release) and only Qt6-relevant bugs are being fixed (then backported) since then. The final release happened on 2025-05-19, which means a) we will not get it until 2026-06-19, b) any bugs discovered since last May will not be fixed and c) no bugs since 2020-12-08 that haven't also been affecting Qt6 were fixed at all.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

Re: Nouveautés de la version de développement 0.9 and 0.100.0 -0.100.1

Hi Laurent,

I have wanted to try and spend some time contributing to the main QET program, in addition to dxf2elmt (which I need to get back and do some work on).

Are there a specific set of Issues in the Mantis tracker related to getting things working in Qt 6 I could look at or start working on? I'm not real familiar with Mantis, but doing a quick search for Qt 6 I didn't find anything.

Would I just be better off attempting to compile it with Qt6, see what breaks and go from there?

Re: Nouveautés de la version de développement 0.9 and 0.100.0 -0.100.1

Hi Carl,

this has only been reported here on the forum and on Github issues; there doesn't seem to be any entry in Mantis.
https://qelectrotech.org/forum/viewtopi … 089#p21089

Emil have writted a new documentation for compile it under Windows with Qt6.9 if some one can try?
https://github.com/EmilOsvoll/qelectrot … d_Guide.md

As indicated by plc-user, the master and qt6-cmake branches have diverged significantly. Merging the master branch into the qt6-cmake branch causes many conflicts that must be resolved manually. I tried, but I got confused... my knowledge of GIT is limited.

plc-user wrote:

- I don't know a schedule for the switch to QT6 and am very curious myself to see how the two GitHub branches will come together, given how many changes have been made to both branches in the meantime...

On Debian sid

sudo apt install qt6-tools-dev qt6-svg-dev pkg-config
scorpio810 wrote:
git clone --recursive https://github.com/qelectrotech/qelectrotech-source-mirror.git
cd qelectrotech-source-mirror/
git switch qt6-cmake 

comment line 137 of /sources/machine_info.cpp to compile.

mkdir build && cd build
cmake .. -G Ninja -DBUILD_WITH_QT6=ON
time ninja -j48
 

Ignored 95 untranslated source text(s)
[318/478] Building CXX object CMakeFiles/qelectrotech.dir/sources/editor/UndoCommand/openelmtcommand.cpp.o
/media/backup6/qelectrotech-source-mirror/sources/editor/UndoCommand/openelmtcommand.cpp: In member function ‘virtual void OpenElmtCommand::redo()’:
/media/backup6/qelectrotech-source-mirror/sources/editor/UndoCommand/openelmtcommand.cpp:66:102: note: ‘#pragma message: @TODO uncommante slot_select when fixed, see itemChange function for each primitive’
   66 | #pragma message("@TODO uncommante slot_select when fixed, see itemChange function for each primitive")
      |                                                                                                      ^
[478/478] Linking CXX executable qelectrotech

real    0m36,019s
user    21m37,065s
sys     1m39,485s



QElectroTech V 0.100.0-dev
Compilation : GCC 15.2.0
Built with Qt 6.9.2 - x86_64 - Date : Sep 28 2025 : 12:58:45

Git Revision : 411fb3c4dc54b6aaea00f034d6c5396de5daa474
Run with Qt 6.9.2 using 48 thread(s)


https://download.qelectrotech.org/qet/forum_img_2/Qt6_test_build.png

https://qelectrotech.org/forum/viewtopi … 127#p22127

Post's attachments

Attachment icon Windows_Build_Guide.md 6.63 kb, 111 downloads since 2025-11-14 

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

Re: Nouveautés de la version de développement 0.9 and 0.100.0 -0.100.1

scorpio810 wrote:

this has only been reported here on the forum and on Github issues; there doesn't seem to be any entry in Mantis.
https://qelectrotech.org/forum/viewtopi … 089#p21089

Thanks this gives me a place to start looking.

scorpio810 wrote:

Emil have writted a new documentation for compile it under Windows with Qt6.9 if some one can try?
https://github.com/EmilOsvoll/qelectrot … d_Guide.md

I'll give it a go. While I'm not a fan of Windows, unfortunately my work laptop is running Windows 11. While I haven't done any in a while, I do have it set up for Qt development, so hopefully it won't be too much trouble to get it compiling.


scorpio810 wrote:

As indicated by plc-user, the master and qt6-cmake branches have diverged significantly. Merging the master branch into the qt6-cmake branch causes many conflicts that must be resolved manually. I tried, but I got confused... my knowledge of GIT is limited.

plc-user wrote:

- I don't know a schedule for the switch to QT6 and am very curious myself to see how the two GitHub branches will come together, given how many changes have been made to both branches in the meantime...

I'm certainly not a git expert either, but I'll start by trying to get the existing qt6-cmake branch compiling, and then see what I can do from there.


Appreciate the help, hopefully I can get something useful going.

Re: Nouveautés de la version de développement 0.9 and 0.100.0 -0.100.1

Salut Laurent !
Hello Vadoola!
Over the last few days, I've also been wondering what exactly is missing that prevents us from switching completely to qt6 (yet) and whether anyone has a clear view ...
Let's test it out and discuss it! However, we should change forums: it's not finished yet, so it's not ‘new’ yet. That's why the ‘Code’ section is probably the most appropriate place for this discussion.

Fragen zu QET gehören in dieses Forum und werden nicht per PM beantwortet! – Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

Re: Nouveautés de la version de développement 0.9 and 0.100.0 -0.100.1

Hi all,
Well, given the state of Qt5, I'm going to pause the terminal strip branch and focus on the transition to Qt6 and cmake. This would be an opportunity to release a new stable version (with some polish, and disabling the terminal strip manager for the release).

Développeur QElectroTech

Re: Nouveautés de la version de développement 0.9 and 0.100.0 -0.100.1

By the way, after several research, I downgraded the docutils packages in my Debian Sid, which new docutils packages version was breaking my Python Sphinx documentation needed to compile the Extra Cmake Modules. Like

File "/usr/lib/python3/dist-packages/sphinx/registry.py", line 544, in load_extension
        raise ExtensionError(
            __('Could not import extension %s') % extname, err
        ) from err
    sphinx.errors.ExtensionError: Could not import extension ecm (exception: No module named 'docutils.....

Thanks Freexian team to report it: https://www.freexian.com/blog/debian-co … s-10-2025/



Now I have updated my MXE cross-compilation toolchain to last Qt 5.15.18 Framework and upgrade GCC to version:14.3.0, KF5 libs no changes, for the Windows .exe cross-compilation package.
https://github.com/mxe/mxe/commits/master/

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

Re: Nouveautés de la version de développement 0.9 and 0.100.0 -0.100.1

plc-user wrote:

Let's test it out and discuss it! However, we should change forums: it's not finished yet, so it's not ‘new’ yet. That's why the ‘Code’ section is probably the most appropriate place for this discussion.

Agree the Code forum is probably the better place, I just saw Laurent's comment about Qt5 support and thought I would chime in, see what I might be able to do getting a Qt6 release completed.


Joshua wrote:

This would be an opportunity to release a new stable version (with some polish, and disabling the terminal strip manager for the release).

I think that's a good idea. I believe getting a proper release with Qt6 should be a high priority considering both the state of Qt5, and since it has been a while since an official release was made.

234 (edited by scorpio810 2025-12-11 16:51:48)

Re: Nouveautés de la version de développement 0.9 and 0.100.0 -0.100.1

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

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

Re: Nouveautés de la version de développement 0.9 and 0.100.0 -0.100.1

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!

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

236 (edited by galexis 2025-12-22 16:28:14)

Re: Nouveautés de la version de développement 0.9 and 0.100.0 -0.100.1

scorpio810 wrote:

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


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

Il est bloqué depuis 2022 par mon entreprise, je te l'avais même fait remonte à l'époque. https://qelectrotech.org/forum/viewtopi … 141#p17141

Personne ne saurait finaliser le générateur intégré ? Comme Plc-User par exemple.

Re: Nouveautés de la version de développement 0.9 and 0.100.0 -0.100.1

Why do we need to offer the plugin for download on the QET website?
GitHub has binary files for Linux and Windows in the corresponding repository:
https://github.com/raulroda/qet_tb_gene … aster/dist
There is no new version since 1.3.1 and these are available there.

@galexis:  "Do it yourself!"  nomicons/wink

Fragen zu QET gehören in dieses Forum und werden nicht per PM beantwortet! – Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

Re: Nouveautés de la version de développement 0.9 and 0.100.0 -0.100.1

https://github.com/qelectrotech/qelectr … r/pull/443
Feature: Auto-select active diagram in the elements panel tree

Kellermorph wrote:

Description
This PR improves the UX when navigating between different diagrams in a project.

Previously, the ElementsPanel (the project tree on the left) only highlighted a diagram if it was explicitly clicked with the mouse. If the user switched tabs via the central ProjectView (e.g., clicking the tabs directly or using PageUp/PageDown), the tree selection remained static and lost sync with the currently active view.

This patch connects the diagramActivated signal from the ProjectView to the ElementsPanel, ensuring the tree automatically highlights the currently active diagram whenever the view changes.

Technical Changes
To allow the QetDiagramEditor to update the tree selection:

Changed elements_panel in ElementsPanelWidget from private to public.
Changed getItemForDiagram() in GenericPanel from protected to public.
Added a lambda connection in qetdiagrameditor.cpp (right after the ProjectView creation) to retrieve the QTreeWidgetItem for the activated diagram and call setCurrentItem().
Testing
Compiled and tested locally.
Verified that switching tabs with the mouse updates the tree.
Verified that switching tabs via keyboard shortcuts (PageUp/PageDown) correctly updates the tree selection.


https://github.com/qelectrotech/qelectr … r/pull/447
Add RAM-based wiring list export

Kellermorph wrote:

Hi team,
I added a new feature to export a wiring list directly to CSV.
It uses the toXml() method to grab the project data directly from RAM, so no manual autosave is required before exporting.
Features:
Exports Folio, Element labels, Terminals, and conductor properties.
Resolves links across folios.
Removes duplicates.
Best regards!

https://github.com/qelectrotech/qelectr … r/pull/449
Automatic Terminal Numbering Tool

Kellermorph wrote:

This Pull Request introduces a new feature for the automatic numbering of terminals across an entire project. This tool significantly speeds up the workflow when dealing with large terminal blocks, replacing manual labeling or external scripts.
Integrated GUI: A new dialog (TerminalNumberingDialog) allows users to choose between X-axis or Y-axis priority for sorting.

Smart Sorting: Terminals are sorted by their prefix, then by folio index, and finally by their physical coordinates on the diagram (with a 1px tolerance for alignment).

Alphanumeric Support: Users can choose to include or exclude alphanumeric suffixes.

Preservation of Special Terminals: Standard terminal labels like "N", "PE", or "L1" are preserved to maintain electrical correctness, while still being counted in the sequence to ensure correct numbering for subsequent terminals.

Full Undo/Redo Support: The numbering process is encapsulated in a QUndoCommand macro, allowing users to revert all changes with a single "Undo" action.

https://github.com/qelectrotech/qelectr … r/pull/451
Draft: Feature - Introduce User Templates Collection and Dedicated UI Tab

Kellermorph wrote:

This PR introduces a new feature to QElectroTech: Templates (user-defined reusable component groups/snippets). To provide a clean user experience, a dedicated "Templates" tab has been added to the element collection widget alongside the existing collections.

Currently, this is a Draft / WIP to gather early feedback on the architectural integration and the general concept before polishing the remaining features.

I would love to get your thoughts on the general approach and the UI/Model integration so far. Are there any specific architectural guidelines I should keep in mind before proceeding with the remaining To-Dos?

https://github.com/qelectrotech/qelectr … r/pull/452
Fix losing Focus on moving diagram position with keyboard

ChuckNr11 wrote:

Hi Laurent,
I hope this solves the problem.

https://github.com/qelectrotech/qelectr … r/pull/459
Fix and Improve Multi-selection for Diagram Operations

Kellermorph wrote:

Safe List Iteration: Implemented safeDiagrams (a local copy of the selection) in QETDiagramEditor to prevent iterator invalidation while the project tree structure changes during bulk operations.

UI Stability & Database Sync: Added QCoreApplication::processEvents(QEventLoop::ExcludeUserInputEvents) within move loops. This ensures the database and UI remain synchronized, preventing the application from freezing or throwing SQL errors during bulk moves.

Directional Logic for Moves: Fixed move order logic (Forward loop for "Up", Backward loop for "Down" and "UpTop") to preserve the relative order of selected items.

Fixed Large Moves (x10 / x100): Repaired the logic for moving blocks over 10 and 100 pages. Applied the same safety loops and corrected boundary checks (using >= instead of >) to allow moves when exactly 10 or 100 pages are available.

Multi-Delete Support: Integrated and stabilized the ability to delete multiple selected diagrams at once, ensuring the UI updates correctly and the internal project model remains consistent.

Selection Persistence: Updated ElementsPanelWidget to clear and restore the selection after an operation. This prevents the tree view from incorrectly expanding the selection to unselected items between moved or deleted blocks.

Enhanced Safety & Validation:

Updated updateButtons() to calculate the boundary (min/max index) of the entire selection. Actions (including Delete and all Move types) are now correctly disabled if any part of the selection reaches the project boundaries.

Updated keyPressEvent() to respect these enabled/disabled states, preventing illegal move or delete operations via keyboard shortcuts (Delete, F3-F9).


https://github.com/qelectrotech/qelectr … ts/pull/37
feat(i18n): Deep translation based on directory-semantic mapping - Supported by Yingkou Lingbao New Materials

mx80286 wrote:

This project provides a systematic Chinese localization enhancement for the QElectroTech element library.

[Core Feature: Directory-as-Context]
Driven by the Yingkou Lingbao New Materials technical team, this localization employs "path-context-aware" logic:

Semantic Alignment: By modeling filenames based on their directory hierarchy, we ensure high accuracy for technical terms within their specific engineering domains.

Full Coverage: Both .elmt and qet_directory files have been synchronized, enabling seamless Chinese navigation.

[Disclaimer & Feedback]
Given the vast scale of the library, there may still be room for optimization in certain niche terms. We welcome any corrections or feedback from the open-source community.

Contributor: 营口菱宝新材料有限公司 (Yingkou Lingbao New Materials Co., Ltd.)

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !