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

1,402

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

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

(224 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,416

(224 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,417

(224 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/

1,418

(224 replies, posted in News)

Merci @Galexis,

pour la compiler il faudrait que Joshua fasse un merge du master sur la branche terminal_strip, là ça coince avec mes scripts de builds pour la ReadyToUse.
Il vaut mieux que ce soit lui qui fasse le merge, il saura voir si le merge ne casse pas ce qu'il a implémenté.

1,419

(224 replies, posted in News)

@galexis:
Çà pourrai se faire, si Joshua le demande, je n'ai pas encore pu tester le travail qu'il a fait sur cette branche. Trop pris par mon boulot, très fatigué et très irritable au boulot ...
Mon état de santé s'étant très dégradé ces derniers temps, je viens d'apprendre que je dois passer au scanner le plus rapidement possible, et peut-être subir une intervention lourde et très risquée, ce qui me fait beaucoup cogiter...., je craint de devoir revoir notre plan ou pas de pousser la 0.9 avant le freeze Debian.

Tout dépendra de mon état de santé, et aussi de mon moral qui est au plus bas, en plus des douleurs ...par moment insupportables.

So, how much params i can insert?
255?1024?

I don't know, the limit is the power of your setup, if you have a big HEDT Workstation or server setup you have no limit, maybe the project launch will slow down?


We know that putting a lot of images slows down QET a lot,  because of all images was converted to ASCII text encoding/decoding in .qet XML file.

See example provided industrial.qet.
https://download.qelectrotech.org/qet/forum_img_2/properties_project1.png
https://download.qelectrotech.org/qet/forum_img_2/properties_project.png

https://qelectrotech.org/forum/viewtopic.php?id=375




For multi-cable

https://download.qelectrotech.org/qet/s … afloor.pdf

scorpio810 wrote:
galexis wrote:
scorpio810 wrote:

C'est juste un symbole ...

Sans bornes: pas bête! Faut en voir 1 pour les différents câble, mais pas bête.

Sinon quand t'as pas le temps tu le fait à l'arrache comme dans les folios 23,24... le principal c'est que le numéro de brin de fil apparaisse dans le schéma.

https://qelectrotech.org/forum/viewtopi … 163#p17163