Bonjour Michel,

tu as dut activer le mode sombre automatique?
https://www.macg.co/macos/2020/08/macos-big-sur-nouveau-reglage-pour-le-mode-sombre-115771#:~:text=Les%20r%C3%A9glages%20d'interface%20dans,'%C3%A9cran%20dans%20les%20fen%C3%AAtres%20%C2%BB.


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

1,552

(5 replies, posted in News)

QElectroTech version 0.90  is now on Debian Unstable, thanks Martin. nomicons/wink

https://buildd.debian.org/status/packag … lectrotech

QElectroTech version 0.90 it 's also available for Fedora ≥ 35 and Enterprise Linux ≥ 8 (RHEL, CentOS, AlmaLinux, RockyLinux...), thanks Remi. nomicons/wink

https://blog.remirepo.net/post/2023/01/ … rsion-0.90


FreeBSD port:
https://www.freshports.org/cad/qelectrotech/
https://www.freshports.org/commit.php?c … d7a3458458

1,553

(5 replies, posted in News)

https://qelectrotech.org/forum/viewtopi … 250#p17250



====== ChangeLog from 0.8 to 0.9 ======


*Diagram editor :
Improved QElectroTech speed (launch qet, open project, function)
A drop-down list has been added to the toolbar to change the size of the resize handles.


*Element Editor:
The "keep visual rotation" property of element texts is editable from the element editor.
Thanks to the work of antonioaja it is now possible to import a dxf directly from the element editor in a completely transparent way for the user.
In the background QElectroTech uses the dxf2elmt software. https://qelectrotech.org/forum/viewtopic.php?id=2265 https://github.com/antonioaja/dxf2elmt
Improved responsiveness when multiple shapes are selected or deleted, especially when working on a large converted DXF element.
https://qelectrotech.org/forum/viewtopi … 612#p16612

*Other:
Add a "side project" tab in the "about" window.
In the general QElectroTech configuration, a drop down list allows to choose the scaling method for hdpi screens.
Allow open polygons (i.e. polylines) when saving in dxf format.
https://qelectrotech.org/forum/viewtopi … 611#p16611

Added 'Other' option for slave device contact type.
https://github.com/qelectrotech/qelectr … r/pull/222
https://qelectrotech.org/forum/viewtopic.php?id=2264

*Logs:

Added a QElapsedTimer to calculate the time used to reload the item collection.
Improved QElapsedTimer to calculate the time used to reload the item collection in seconds instead of ms.
Added Linux pc.gpu.RAM information, but requires mesa-utils dependency on the Linux OS.
Added information about mounted disk volumes.
Added CPU architecture for which Qt was compiled in the aboutqetdialog widget and in the logs.
Added MSVC support to MachineInfo.
Added RAM information on Windows of available RAM.
Added QElectroTech version to the log file.



* Elements collection :
Improve collection 8274 elements in 1097 categories (i.e. 9371 files).



* macOS :
Fix sqlite3 database export on macOS, now I use macports with Digikam scripts instead off Homebrew Package Manager.
See: https://invent.kde.org/graphics/digikam … s/macports


*Bug fix:
see: https://git.tuxfamily.org/qet/qet.git/log/?h=0.8.1



0.9 tarball https://git.tuxfamily.org/qet/qet.git/s … 0.9.tar.gz

1,554

(236 replies, posted in News)

Warning! On Last 0.9-dev since terminal_strip branch was merged in master, QElectroTech V 0.90-DEV+cc7e185d5b0a58100c957a06d79751d3
Compilation : GCC 12.2.0
Built with Qt 5.15.7 - x86_64 - Date : Jan 3 2023 : 00:57:22


If you change data on yours summary tables, etc ...  QET can crashe .... and can't re open your project without crashes again with this package build.

Fixed -> see https://git.tuxfamily.org/qet/qet.git/c … 4a0710ded7

I just found this, maybe try it.
https://www.reddit.com/r/Kubuntu/commen … n_kubuntu/
https://www.reddit.com/r/kde/comments/v … on_my_kde/
https://www.reddit.com/r/linux4noobs/co … ;context=3

Hi ,

git clone https://github.com/qelectrotech/qelectrotech-source-mirror.git

Open lang/qet_it.ts with qtcreator (qtlinguist) and send me corrected file.


https://github.com/qelectrotech/qelectr … /qet_it.ts

JFYI, export sqlite3 project database now work ready in latest OSX bundle package.
https://qelectrotech.org/forum/viewtopi … 291#p17291

Other way, open your project.qet with the best kate editor, use search and replace function to change in xml file your font.
Make a backup off course before.

Kate is the default kde editor and is include in you kubuntu.
It is very powerfull and I use all the times and like it.
https://kate-editor.org/


https://kate-editor.org/post/2022/2022- … te-kwrite/

https://linuxconfig.org/install-microso … sh-desktop

1,560

(12 replies, posted in Bar Fourre-tout)

Statistics 2022

Download server:

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

Web area server : forum, wiki, bugtracker, etc.

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

Use %F instead of %f for arrow.

Hi Plc-user,

it only takes me ~3 seconds to compile it and push it to the repository.

1,563

(6 replies, posted in Elements)

https://git.tuxfamily.org/qet/qet.git/c … b25211093f

Hallo Plc-user,

many thanks.
I also rebuild Windows & macOS executable programs.

plc-user wrote:

Salut Laurent,

is it a "bug" if I already write exactly that in todays introductory post? nomicons/wink

hmm, I read too fast and did not pay attention to this detail, sorry. nomicons/wink

1,566

(236 replies, posted in News)

macOS fix sqlite3 database export in bundle package.

Finally the efforts pay off, I spent many days there and a lot of my free time since some months.., sometimes you have to know how to give up and go on another way...

Instead off Homebrew where I don't found how to use Sqlite3 Qt5 plugin, but then need to compile Qt 5.X source and KF5 ...frameworks ...WTF!?

Now I use macports instead brew, with qt5-sqlite-plugin, a big thanks to Gilles Caulier off the Digikam team. I also use his scripts to make MXE cross-compiler toolchains with Qt5/KF5 frameworks for building QET Windows packages, since long time.

Enjoy! nomicons/wink

https://git.tuxfamily.org/qet/qet.git/c … d3e1416fe8
https://git.tuxfamily.org/qet/qet.git/c … 1538db503f

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

Hallo Plc-user,

we had discussed it with UnAlcade (Raul) the developer of the qet_tb_generator plug-in, the discussion is in this topic:

https://qelectrotech.org/forum/viewtopi … 5269#p5269

Hallo plc-user,

A big thank you for your work and I speak on behalf of all users of QET, which fills a gap very often requested.
I just noticed a small bug, nothing serious but in your example provided, some elements had their hotspot shifted or next to it.

Cheers,

Laurent

https://download.qelectrotech.org/qet/forum_img_2/qet_elementscaler_flip_wrong_hotspot.png
https://download.qelectrotech.org/qet/forum_img_2/qet_elementscaler_flip_wrong_hotspot2.png


BTW, a workaround .... yes i love workaround, uhuhu ... it 's to open these element with wrong hotspot with QET element editor and save it to fix hotspot postion.

With my QET cross-compile MXE environment x86_64 that I use to build QET Windows packages, I just compile new version of QET_ElementScaler.exe for Win 10/11:

[12:30:38] laurent@debian:/media/backup6/download/QET_ElementScaler$ export PATH=/home/laurent/digikam3333/project/bundles/mxe/build.win64/usr/bin:$PATH
[12:33:01] laurent@debian:/media/backup6/download/QET_ElementScaler$ ./compile.sh 
[12:33:18] laurent@debian:/media/backup6/download/QET_ElementScaler$ 

Change g++ PATH to my MXE environment toolchain for compile Windows package:

[12:52:38] laurent@debian:/media/backup6/download/QET_ElementScaler$ git diff
diff --git a/compile.sh b/compile.sh
index 94f4f4e..a950aa8 100755
--- a/compile.sh
+++ b/compile.sh
@@ -5,6 +5,6 @@ mkdir -p obj/inc/pugixml
 
 
# compile QET_ElementScaler
-g++ -Wall -O2 -std=c++17 -c inc/pugixml/pugixml.cpp -o obj/inc/pugixml/pugixml.o
-g++ -Wall -O2 -std=c++17 -c main.cpp -o obj/main.o
-g++ -o  QET_ElementScaler obj/inc/pugixml/pugixml.o obj/main.o  -s
+/home/laurent/digikam3333/project/bundles/mxe/build.win64/usr/bin/x86_64-w64-mingw32.static-g++ -Wall -O2 -std=c++17 -c inc/pugixml/pugixml.cpp -o obj/inc/pugixml/pugixml.o
+/home/laurent/digikam3333/project/bundles/mxe/build.win64/usr/bin/x86_64-w64-mingw32.static-g++ -Wall -O2 -std=c++17 -c main.cpp -o obj/main.o
+/home/laurent/digikam3333/project/bundles/mxe/build.win64/usr/bin/x86_64-w64-mingw32.static-g++ -o  QET_ElementScaler obj/inc/pugixml/pugixml.o obj/main.o  -s



Download here:
https://download.qelectrotech.org/qet/b … entScaler/

https://www.virustotal.com/gui/file/413 … ?nocache=1

Nice, works well on osx 12 monterey x86_64 with my build https://qelectrotech.org/forum/misc.php … download=1
https://download.qelectrotech.org/qet/forum_img_2/macos_qet_elementscaler_flip.png

plc-user wrote:
laurents-iMac-Pro:elements laurent$ ./QET_ElementScaler --FlipVertical pylone.elmt 
could not convert "pylone.elmt" to a float-number!
laurents-iMac-Pro:elements laurent$ ./QET_ElementScaler pylone.elmt --FlipVertical 
could not convert "pylone.elmt" to a float-number!

when using Options other than scaling-factor and filename, you have to add the filename with "-f filename"
For example:

./QET_ElementScaler --FlipVertical -f pylone.elmt 

Thanks! aaah just forgot -f, I' m stupid .. nomicons/smiley-green

[11:36:32] laurent@debian:~/.qet$ ./QET_ElementScaler  --FlipVertical -f elements/pylone.elmt 
[11:42:45] laurent@debian:~/.qet$ 

Hello plc-user,

what is the command line to use it?
I saw the same thing on my Debian unstable:

[11:32:19] laurent@debian:/media/backup6/download/QET_ElementScaler$ git pull
remote: Enumerating objects: 22, done.
remote: Counting objects: 100% (21/21), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 22 (delta 13), reused 18 (delta 10), pack-reused 1
Dépaquetage des objets: 100% (22/22), 13.08 Kio | 893.00 Kio/s, fait.
Depuis https://github.com/plc-user/QET_ElementScaler
   4f4bda3..43b1d59  master     -> origin/master
 * [nouvelle étiquette] 0.4beta5   -> 0.4beta5
 * [nouvelle étiquette] 0.4beta2   -> 0.4beta2
 * [nouvelle étiquette] 0.4beta3   -> 0.4beta3
 * [nouvelle étiquette] 0.4beta4   -> 0.4beta4
Mise à jour 4f4bda3..43b1d59
Fast-forward
 README.md                  |  11 +++++------
 inc/pugixml/pugiconfig.hpp |   2 +-
 inc/pugixml/pugixml.cpp    |  32 +++++++++++++++++++++++++++----
 inc/pugixml/pugixml.hpp    |   7 +++++--
 main.cpp                   | 344 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------
 main.h                     |  67 ++++++++++++++++++++++++++++++++++++++++++----------------------
 6 files changed, 357 insertions(+), 106 deletions(-)
[11:32:26] laurent@debian:/media/backup6/download/QET_ElementScaler$ ./compile.sh 
[11:34:19] laurent@debian:/media/backup6/download/QET_ElementScaler$  cd /home/laurent/.qet
[11:35:25] laurent@debian:~/.qet$ ./QET_ElementScaler elements/pylone.elmt  --FlipVertical 
could not convert "elements/pylone.elmt" to a float-number!
[11:36:32] laurent@debian:~/.qet$ 

Hi plc-user,
tried to compile on macOS 12 X86_64:

laurents-iMac-Pro:QET_ElementScaler laurent$ bash ./compile.sh 
In file included from main.cpp:94:
./main.h:92:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    0
    ^
    {}
1 warning generated.
ld: warning: option -s is obsolete and being ignored
laurents-iMac-Pro:QET_ElementScaler laurent$ 
laurents-iMac-Pro:elements laurent$ ./QET_ElementScaler --FlipVertical pylone.elmt 
could not convert "pylone.elmt" to a float-number!
laurents-iMac-Pro:elements laurent$ ./QET_ElementScaler pylone.elmt --FlipVertical 
could not convert "pylone.elmt" to a float-number!

1,574

(236 replies, posted in News)

Rien de plus facile, download, puis click droit rendre exécutable ou chmod +x ./
ensuite suffit de cliquer sur le fichier pour que ça lance une version de QET autonome sans rien installer.

C'est comme les ReadyToUse mais sous Linux.

Passes de bonnes fêtes, toi aussi.

1,575

(236 replies, posted in News)

Bon, pour te consoler je t'ai fait une AppImage de la branche terminal_strip que tu pourras tester pendant ces fêtes, si tu le souhaites sur ta Linux Mint.

https://download.qelectrotech.org/qet/s … nal_strip/