scorpio810 wrote:

Je doute d'arriver à la faire fonctionner sous esphome ou homeassistant ..

https://community.home-assistant.io/t/r … sy/50793/5
https://github.com/jschaeke/MQTT-Arduino-MEGA-I-O

@Andrea,

happy to help you.
For modules you can share them here.
For italian translation you can help with a Github pull request, see here :
https://qelectrotech.org/forum/viewtopi … 739#p13739

Have a great 2021!

Laurent

Je me suis amusé à adapter le symbole Arduino Mega 2560 pour le WeMOS Mega + WiFi R3 ATmega2560 + ESP8266

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

2,504

(12 replies, posted in Bar Fourre-tout)

Statistics 2020

Download server:
https://download.qelectrotech.org/qet/forum_img_2/2020_stat_download.png

Web area server : forum, wiki, bugtracker, etc.
https://download.qelectrotech.org/qet/forum_img_2/2020_stat_web_area.png

J'ai acheté cette bestiole https://www.amazon.fr/gp/product/B07HML8DZD  une vrai usine a gaz, bon sang !
https://ae01.alicdn.com/kf/HTB1X0ZhSXXXXXXpaXXXq6xXFXXXy.jpg
https://www.element14.com/community/mes … ire#231249
https://drive.google.com/file/d/0B7YEXm … sp=sharing
https://www.element14.com/community/thr … hread=true
http://sysengineering.ru/notes/kontroll … -s-esp8266

Je doute d'arriver à la faire fonctionner sous esphome ou homeassistant ..


... pour fonctionner avec ce capteur qui n'est toujours pas arrivé  https://www.amazon.fr/gp/product/B082QZ9S2B

100 psi
Input: 0-100 psi
Output: 0.5V~4.5V linear voltage output. 0 psi outputs 0.5V, 50 psi outputs 2.5V, 100 psi outputs 4.5V.
Accuracy: within 2% of reading (full scale).
Thread: 1/8"-27 NPT
Wiring Connector: Water sealed quick disconnect. Mating connector and wire harness (pigtail) is included.
Wiring: Red for +5V; Black for ground; Blue for signal output.

Mais j'ai aussi pris dans la foulée un ADS1115 ADC Module 16 bit 4 canaux , et un paquet de 5 X TXS0108E Logic Level Converter 8 canaux ... Apres avoir beaucoup cherché, car peut-être que la solution serait plus simple avec ? faudra que je teste plutôt sur un de mes Wemos D1 mini esp8266 avant de griller mon raspberry pi 3 b+ ... :p comme dans l'exemple en fin de page.


https://download.qelectrotech.org/qet/forum_img_2/AnalogWater10.jpg

Source :
https://technicalustad.com/how-to-build … pberry-pi/

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

Sans fibre ni connexion Web depuis le 19 .. mon réseau domotique étant a l’arrêt je ne peux rien tester ... et en 4G je pleure ... avec les fêtes le débit est devenu proche du 56K krkrkr

@Andrea :
In your diagrams, you use many many terminals to connect wires between them, it is not useful and this is what blocks the terminal generator with too many unnecessary terminals, plus the terminals X1: 35 X1: 36 and X1: 33 X1: 34 are assigned to the same terminals..

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

Regards,
Laurent

@atabanelli: seems run if you remove X1:24 etc in PLC / HMI INPUT DIGITALI folio, like this :
https://download.qelectrotech.org/qet/forum_img_2/bug_qet_tb_generator.png

Hi,

same error here :

qelectrotech
18:41:46 INFO     ** QElectrotech terminal block plug-in - v1.1.7 ** [main.main:845]
18:41:46 INFO     Using the argument passed: ['/usr/local/bin/qet_tb_generator', '/media/backup6/download/QuadriVinificatoriPLC_001_test.qet'](2) [main.get_QET_path:775]
18:41:46 INFO     Atribute 'folioSheetQuantity' doesn't exist. Assuming 0 [qetproject.__init__:86]
18:41:46 DEBUG    Getting cable number connected to terminal 29 at page ARRIVO / DISTRIBUZIONE LINEA E ALIMENTAZIONE AUSILIARI [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 30 at page ARRIVO / DISTRIBUZIONE LINEA E ALIMENTAZIONE AUSILIARI [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 410 Y Position: 90 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 31 at page ARRIVO / DISTRIBUZIONE LINEA E ALIMENTAZIONE AUSILIARI [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 32 at page ARRIVO / DISTRIBUZIONE LINEA E ALIMENTAZIONE AUSILIARI [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 410 Y Position: 70 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 54 at page ARRIVO / DISTRIBUZIONE LINEA E ALIMENTAZIONE AUSILIARI [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 55 at page ARRIVO / DISTRIBUZIONE LINEA E ALIMENTAZIONE AUSILIARI [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 410 Y Position: 130 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 64 at page ARRIVO / DISTRIBUZIONE LINEA E ALIMENTAZIONE AUSILIARI [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 65 at page ARRIVO / DISTRIBUZIONE LINEA E ALIMENTAZIONE AUSILIARI [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 410 Y Position: 110 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 14 at page INVERTER MOTORE PALA ESTRAZIONE VINACCE [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 15 at page INVERTER MOTORE PALA ESTRAZIONE VINACCE [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 200 Y Position: 510 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 62 at page INVERTER MOTORE PALA ESTRAZIONE VINACCE [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 63 at page INVERTER MOTORE PALA ESTRAZIONE VINACCE [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 290 Y Position: 510 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 66 at page INVERTER MOTORE PALA ESTRAZIONE VINACCE [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 67 at page INVERTER MOTORE PALA ESTRAZIONE VINACCE [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 230 Y Position: 510 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 82 at page INVERTER MOTORE PALA ESTRAZIONE VINACCE [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 83 at page INVERTER MOTORE PALA ESTRAZIONE VINACCE [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 260 Y Position: 510 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 2 at page INVERTER MOTORE POMPA TC.DV [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 3 at page INVERTER MOTORE POMPA TC.DV [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 200 Y Position: 510 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 57 at page INVERTER MOTORE POMPA TC.DV [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 58 at page INVERTER MOTORE POMPA TC.DV [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 230 Y Position: 510 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 64 at page INVERTER MOTORE POMPA TC.DV [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 65 at page INVERTER MOTORE POMPA TC.DV [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 290 Y Position: 510 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 18 at page MODULO DI SICUREZZA [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 19 at page MODULO DI SICUREZZA [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 230 Y Position: 150 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 26 at page MODULO DI SICUREZZA [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 27 at page MODULO DI SICUREZZA [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 230 Y Position: 90 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 0 at page AUSILIARI 24VDC [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 1 at page AUSILIARI 24VDC [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 530 Y Position: 450 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 9 at page AUSILIARI 24VDC [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 10 at page AUSILIARI 24VDC [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 890 Y Position: 310 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 18 at page AUSILIARI 24VDC [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 19 at page AUSILIARI 24VDC [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 890 Y Position: 450 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 27 at page AUSILIARI 24VDC [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 28 at page AUSILIARI 24VDC [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 710 Y Position: 450 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 31 at page AUSILIARI 24VDC [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 32 at page AUSILIARI 24VDC [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 710 Y Position: 310 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 37 at page AUSILIARI 24VDC [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 38 at page AUSILIARI 24VDC [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 410 Y Position: 450 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 39 at page AUSILIARI 24VDC [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 40 at page AUSILIARI 24VDC [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 410 Y Position: 310 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 41 at page AUSILIARI 24VDC [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 42 at page AUSILIARI 24VDC [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 530 Y Position: 310 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 43 at page AUSILIARI 24VDC [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 44 at page AUSILIARI 24VDC [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 290 Y Position: 310 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 52 at page AUSILIARI 24VDC [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 53 at page AUSILIARI 24VDC [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 290 Y Position: 450 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 0 at page PLC / HMI ALIMENTAZIONI, COMUNICAZIONE E INPUT ANALOGICI [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 1 at page PLC / HMI ALIMENTAZIONI, COMUNICAZIONE E INPUT ANALOGICI [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 681 Y Position: 90 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 2 at page PLC / HMI ALIMENTAZIONI, COMUNICAZIONE E INPUT ANALOGICI [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 3 at page PLC / HMI ALIMENTAZIONI, COMUNICAZIONE E INPUT ANALOGICI [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 511 Y Position: 90 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 7 at page PLC / HMI ALIMENTAZIONI, COMUNICAZIONE E INPUT ANALOGICI [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 8 at page PLC / HMI ALIMENTAZIONI, COMUNICAZIONE E INPUT ANALOGICI [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 681 Y Position: 160 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 11 at page PLC / HMI ALIMENTAZIONI, COMUNICAZIONE E INPUT ANALOGICI [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 12 at page PLC / HMI ALIMENTAZIONI, COMUNICAZIONE E INPUT ANALOGICI [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 511 Y Position: 160 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 16 at page PLC / HMI ALIMENTAZIONI, COMUNICAZIONE E INPUT ANALOGICI [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 17 at page PLC / HMI ALIMENTAZIONI, COMUNICAZIONE E INPUT ANALOGICI [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 720 Y Position: 120 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 29 at page PLC / HMI ALIMENTAZIONI, COMUNICAZIONE E INPUT ANALOGICI [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 30 at page PLC / HMI ALIMENTAZIONI, COMUNICAZIONE E INPUT ANALOGICI [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 550 Y Position: 120 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 31 at page PLC / HMI ALIMENTAZIONI, COMUNICAZIONE E INPUT ANALOGICI [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 32 at page PLC / HMI ALIMENTAZIONI, COMUNICAZIONE E INPUT ANALOGICI [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 550 Y Position: 120 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 33 at page PLC / HMI ALIMENTAZIONI, COMUNICAZIONE E INPUT ANALOGICI [qetproject._getCableNum:217]
18:41:46 DEBUG    Getting cable number connected to terminal 34 at page PLC / HMI ALIMENTAZIONI, COMUNICAZIONE E INPUT ANALOGICI [qetproject._getCableNum:217]
18:41:46 DEBUG    Cols: 17      Col size: 60    Row size: 80    X position: 720 Y Position: 120 [qetproject._getXRefByCoord:302]
18:41:46 DEBUG    Getting cable number connected to terminal 3 at page PLC / HMI INPUT DIGITALI [qetproject._getCableNum:217]
Traceback (most recent call last):
  File "/usr/local/bin/qet_tb_generator", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python3/dist-packages/src/main.py", line 857, in main
    qet_terminals = qet_project.get_list_of_used_terminals()
  File "/usr/lib/python3/dist-packages/src/qetproject.py", line 331, in get_list_of_used_terminals
    terminalId2 = terminals[1].attrib['
id']
IndexError: list index out of range

2,509

(24 replies, posted in Documentation)

Non, pas pour l'instant.
https://github.com/qelectrotech/qelectr … rce/locale

https://www.sphinx-doc.org/en/master/us … /intl.html

Bonjour et merci pour les compliments,

regardes dans le dossier:

$HOME/Library/Preferences/ et cherches le fichier org.qelectrotech.QElectroTech.plist



Apres te faudra un éditeur de fichier plist pour l’éditer.

2,511

(24 replies, posted in Documentation)

Added CS translation :
https://download.qelectrotech.org/qet/m … index.html

Hi LowVoltage you could help Fernando to write documentation
https://github.com/qelectrotech/qelectrotech-doc

https://qelectrotech.org/forum/viewtopi … 441#p11441

2,513

(317 replies, posted in News)

I 'm think not is an problem, I can use android tethering...like last year for sending my packages builds.

2,514

(317 replies, posted in News)

La fibre aura durée 5 jours ... depuis vendredi dernier plus de réseau .... Orange ne peux pas intervenir sur les équipements SFR ...

2,515

(6 replies, posted in Elements)












https://download.qelectrotech.org/qet/m … older.html
https://download.qelectrotech.org/qet/m … ement.html

2,516

(317 replies, posted in News)

De-Backer wrote:
scorpio810 wrote:

Maybe try on Linux like this:
https://qelectrotech.org/forum/viewtopi … 880#p10880

on linux it is no problem
but i wanted to see if it would work on windows without too many changes.
Building KF5 works in linux because it is a KDE version
but on windows, a disaster.
you essentially end up building a complete KDE and Python and Cmake and ReuseTool and Sphinx and qt and .... => it takes longer to build QET from code than to install linux on virtualbox and build it there!

You could try MXE with Digikam script like me to cross-compile QET for Windows.


https://mxe.cc/#requirements

git clone https://invent.kde.org/graphics/digikam.git
cd digikam/project/bundles/mxe/

1) I edit config.sh script for static build, but if you found a solution for shared build work.
2 ) edit 01-build-mxe.sh
I add sqlite and -j48 for make
and delete some package

3 ) run 01-build-mxe.sh

laurent@debian:~/digikam2/project/bundles/mxe$ ./01-build-mxe.sh 

It may take a while, several hours depending on the power of your machine

When finish edit 02-build-extralibs.sh and remove some packages not which not compile in static mode.

Run 02-build-extralibs.sh

laurent@debian:~/digikam3/project/bundles/mxe$ ./02-build-extralibs.sh 

If build ok, go to
cd /project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/mkspecs/modules/
and copy *.pri files to /project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/mkspecs/modules/

Since last KF5 change libs = $$PWD/../../lib I change path in these .pri files, like :

QT.KWidgetsAddons.VERSION = 5.77.0
QT.KWidgetsAddons.MAJOR_VERSION = 5
QT.KWidgetsAddons.MINOR_VERSION = 77
QT.KWidgetsAddons.PATCH_VERSION = 0
QT.KWidgetsAddons.name = KF5WidgetsAddons
QT.KWidgetsAddons.module = KF5WidgetsAddons
QT.KWidgetsAddons.defines =
QT.KWidgetsAddons.includes = /home/laurent/digikam3/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/include/KF5/KWidgetsAddons
QT.KWidgetsAddons.private_includes =
QT.KWidgetsAddons.libs = /home/laurent/digikam3/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/lib
QT.KWidgetsAddons.depends = widgets
QT.KWidgetsAddons.module_config = staticlib


Now edit again config.sh MXE_ARCHBITS 64 to 32
run again 01-build-mxe.sh and 02-build-extralibs.sh to cross-compil 32 bits env

Go to your /project/bundles/mxe/build.win32/usr/i686-w64-mingw32.static/mkspecs/modules/
edit path in yours *.pri files like

QT.KCoreAddons.VERSION = 5.77.0
QT.KCoreAddons.MAJOR_VERSION = 5
QT.KCoreAddons.MINOR_VERSION = 77
QT.KCoreAddons.PATCH_VERSION = 0
QT.KCoreAddons.name = KF5CoreAddons
QT.KCoreAddons.module = KF5CoreAddons
QT.KCoreAddons.defines =
QT.KCoreAddons.includes = /home/laurent/digikam3/project/bundles/mxe/build.win32/usr/i686-w64-mingw32.static/include/KF5/KCoreAddons
QT.KCoreAddons.private_includes =
QT.KCoreAddons.libs = /home/laurent/digikam3/project/bundles/mxe/build.win32/usr/i686-w64-mingw32.static/lib
QT.KCoreAddons.depends = core
QT.KCoreAddons.module_config = staticlib

and copy these to /project/bundles/mxe/build.win32/usr/i686-w64-mingw32.static/qt5/mkspecs/modules/

You can now test if QET cross-compile in 64 bits

git clone --recursive https://github.com/qelectrotech/qelectrotech-source-mirror.git qet && cd qet
mkdir build && cd build
export PATH=/home/laurent/digikam3/project/bundles/mxe/build.win64/usr/bin:$PATH
/home/laurent/digikam23project/bundles/mxe/build.win64/usr/bin/x86_64-w64-mingw32.static-qmake-qt5 ../qelectrotech.pro
time make -j48

For 32 bits :

rm -Rf build
mkdir build && cd build
export PATH=/home/laurent/digikam3/project/bundles/mxe/build.win32/usr/bin:$PATH
/home/laurent/digikam3/project/bundles/mxe/build.win32/usr/bin/i686-w64-mingw32.static-qmake-qt5 ../qelectrotech.pro 
time make -j48

If you are curious saw 03-build-digikam.sh for compile Digikam with shared libs

2,517

(10 replies, posted in Code)

[ 87%] Building CXX object CMakeFiles/qelectrotech.dir/sources/qetgraphicsitem/ViewItem/qetgraphicsheaderitem.cpp.o
[ 87%] Building CXX object CMakeFiles/qelectrotech.dir/sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.cpp.o
[ 87%] Building CXX object CMakeFiles/qelectrotech.dir/sources/qetgraphicsitem/ViewItem/ui/graphicstablepropertieseditor.cpp.o
[ 87%] Building CXX object CMakeFiles/qelectrotech.dir/sources/qetgraphicsitem/ViewItem/ui/projectdbmodelpropertieswidget.cpp.o
[ 88%] Building CXX object CMakeFiles/qelectrotech.dir/sources/QetGraphicsItemModeler/qetgraphicshandleritem.cpp.o
[ 88%] Building CXX object CMakeFiles/qelectrotech.dir/sources/QetGraphicsItemModeler/qetgraphicshandlerutility.cpp.o
[ 88%] Building CXX object CMakeFiles/qelectrotech.dir/sources/QPropertyUndoCommand/qpropertyundocommand.cpp.o
[ 88%] Building CXX object CMakeFiles/qelectrotech.dir/sources/QWidgetAnimation/qwidgetanimation.cpp.o
[ 88%] Building CXX object CMakeFiles/qelectrotech.dir/sources/richtext/richtexteditor.cpp.o
[ 88%] Building CXX object CMakeFiles/qelectrotech.dir/sources/SearchAndReplace/searchandreplaceworker.cpp.o
[ 88%] Building CXX object CMakeFiles/qelectrotech.dir/sources/SearchAndReplace/ui/replaceadvanceddialog.cpp.o
[ 89%] Building CXX object CMakeFiles/qelectrotech.dir/sources/SearchAndReplace/ui/replaceconductordialog.cpp.o
[ 89%] Building CXX object CMakeFiles/qelectrotech.dir/sources/SearchAndReplace/ui/replaceelementdialog.cpp.o
[ 89%] Building CXX object CMakeFiles/qelectrotech.dir/sources/SearchAndReplace/ui/replacefoliowidget.cpp.o
[ 89%] Building CXX object CMakeFiles/qelectrotech.dir/sources/SearchAndReplace/ui/searchandreplacewidget.cpp.o
[ 89%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/dimension.cpp.o
[ 89%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/dimensionwidget.cpp.o
[ 89%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/gridlayoutanimation.cpp.o
[ 90%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/helpercell.cpp.o
[ 90%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/integrationmovetemplateshandler.cpp.o
[ 90%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/qettemplateeditor.cpp.o
[ 90%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/splittedhelpercell.cpp.o
[ 90%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templatecellsset.cpp.o
[ 90%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templatecellwidget.cpp.o
[ 91%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templatecommands.cpp.o
[ 91%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templatedeleter.cpp.o
[ 91%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templatelocationchooser.cpp.o
[ 91%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templatelocation.cpp.o
[ 91%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templatelocationsaver.cpp.o
[ 91%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templatelogomanager.cpp.o
[ 91%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templatescollection.cpp.o
[ 92%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templateview.cpp.o
[ 92%] Building CXX object CMakeFiles/qelectrotech.dir/sources/titleblock/templatevisualcell.cpp.o
[ 92%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/aboutqetdialog.cpp.o
[ 92%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/abstractelementpropertieseditorwidget.cpp.o
[ 92%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/alignmenttextdialog.cpp.o
[ 92%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/bomexportdialog.cpp.o
[ 93%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/borderpropertieswidget.cpp.o
[ 93%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/compositetexteditdialog.cpp.o
[ 93%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/conductorpropertiesdialog.cpp.o
[ 93%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/conductorpropertieswidget.cpp.o
[ 93%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/configsaveloaderwidget.cpp.o
[ 93%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/diagramcontextwidget.cpp.o
[ 93%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/diagrampropertiesdialog.cpp.o
[ 94%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/diagrampropertieseditordockwidget.cpp.o
[ 94%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/diagramselection.cpp.o
[ 94%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/dialogwaiting.cpp.o
[ 94%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/dynamicelementtextitemeditor.cpp.o
[ 94%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/dynamicelementtextmodel.cpp.o
[ 94%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/elementinfopartwidget.cpp.o
[ 95%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/elementinfowidget.cpp.o
[ 95%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/elementpropertieswidget.cpp.o
[ 95%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/formulaassistantdialog.cpp.o
[ 95%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/imagepropertieswidget.cpp.o
[ 95%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/importelementdialog.cpp.o
[ 95%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/importelementtextpatterndialog.cpp.o
[ 95%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/inditextpropertieswidget.cpp.o
[ 96%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/linksingleelementwidget.cpp.o
[ 96%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/marginseditdialog.cpp.o
[ 96%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/masterpropertieswidget.cpp.o
[ 96%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/multipastedialog.cpp.o
[ 96%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/potentialselectordialog.cpp.o
[ 96%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/projectpropertiesdialog.cpp.o
[ 97%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/reportpropertiewidget.cpp.o
[ 97%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/shapegraphicsitempropertieswidget.cpp.o
[ 97%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/titleblockpropertieswidget.cpp.o
[ 97%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/xrefpropertieswidget.cpp.o
[ 97%] Building CXX object CMakeFiles/qelectrotech.dir/sources/ui/configpage/generalconfigurationpage.cpp.o
[ 97%] Building CXX object CMakeFiles/qelectrotech.dir/sources/undocommand/addelementtextcommand.cpp.o
[ 97%] Building CXX object CMakeFiles/qelectrotech.dir/sources/undocommand/changeelementinformationcommand.cpp.o
[ 98%] Building CXX object CMakeFiles/qelectrotech.dir/sources/undocommand/changetitleblockcommand.cpp.o
[ 98%] Building CXX object CMakeFiles/qelectrotech.dir/sources/undocommand/deleteqgraphicsitemcommand.cpp.o
[ 98%] Building CXX object CMakeFiles/qelectrotech.dir/sources/undocommand/itemmodelcommand.cpp.o
[ 98%] Building CXX object CMakeFiles/qelectrotech.dir/sources/undocommand/rotateselectioncommand.cpp.o
[ 98%] Building CXX object CMakeFiles/qelectrotech.dir/sources/undocommand/linkelementcommand.cpp.o
[ 98%] Building CXX object CMakeFiles/qelectrotech.dir/sources/undocommand/rotatetextscommand.cpp.o
[ 98%] Building CXX object CMakeFiles/qelectrotech.dir/sources/utils/conductorcreator.cpp.o
[ 99%] Building CXX object CMakeFiles/qelectrotech.dir/sources/utils/macosxopenevent.cpp.o
[ 99%] Building CXX object CMakeFiles/qelectrotech.dir/sources/utils/qetutils.cpp.o
[ 99%] Building CXX object CMakeFiles/qelectrotech.dir/qelectrotech_autogen/EWIEGA46WW/qrc_qelectrotech.cpp.o
[ 99%] Linking CXX executable qelectrotech
[100%] Built target qelectrotech

real    0m28,002s
user    15m27,747s
sys     1m35,913s

2,518

(10 replies, posted in Code)

you need to install qttools5-dev-tools  and qttools5-dev in order to get /usr/lib/x86_64-linux-gnu/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig.cmake

cmake ..
_____________________________________________________________________
Copyright 2006 The QElectroTech Team
This file is part of QElectroTech.

QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with QElectroTech.  If not, see <http://www.gnu.org/licenses/>.
_____________________________________________________________________
Add sub directorie tests
.____________________________________________________________________
. PROJECT_NAME              :unittests
. PROJECT_SOURCE_DIR        :/media/backup6/qet/tests
. Add sub directorie catch
..___________________________________________________________________
.. PROJECT_NAME              :C_unittests
.. PROJECT_SOURCE_DIR        :/media/backup6/qet/tests/catch
.. QET_DIR                   :/media/backup6/qet
.. QET_COMPONENTS is not set !!! I set them up !!!
 - qet_compilation_vars
.. QT_VERSION_MAJOR   :5
 - fetch_kdeaddons
-- The C compiler identification is GNU 10.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- 

Installing in /usr/local. Run /media/backup6/qet/build/_deps/kcoreaddons-build/prefix.sh to set the environment for qelectrotech.
-- Setting build type to 'Debug' as none was specified.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Could NOT find FAM (missing: FAM_INCLUDE_DIR FAM_LIBRARIES) 
CMake Warning (dev) at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message):
  The package name passed to `find_package_handle_standard_args` (PROCSTAT)
  does not match the name of the calling package (Procstat).  This can lead
  to problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  build/_deps/kcoreaddons-src/cmake/FindProcstat.cmake:18 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  build/_deps/kcoreaddons-src/CMakeLists.txt:68 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find PROCSTAT (missing: PROCSTAT_INCLUDE_DIR PROCSTAT_LIBRARIES) 
-- Looking for include files sys/types.h, sys/mman.h
-- Looking for include files sys/types.h, sys/mman.h - found
-- Looking for getgrouplist
-- Looking for getgrouplist - found
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- At least one python version must be available to use PythonModuleGeneration.
-- Found SharedMimeInfo: /usr/bin/update-mime-database (found suitable version "2.0", minimum required is "1.3") 
-- The following OPTIONAL packages have been found:

 * Threads
 * Inotify
   Filesystem alteration notifications using inotify
 * SharedMimeInfo (required version >= 1.3), A database of common MIME types, <https://freedesktop.org/wiki/Software/shared-mime-info/>
   Allows KDE applications to determine file types

-- The following REQUIRED packages have been found:

 * QT
 * Qt5Gui (required version >= 5.15.1)
 * Qt5Widgets
 * Qt5Concurrent
 * Qt5Xml
 * Qt5Svg
 * Qt5Network
 * Qt5Sql
 * Qt5PrintSupport
 * ECM (required version >= 5.70.0), Extra CMake Modules., <https://commits.kde.org/extra-cmake-modules>
 * Qt5Core
 * Qt5 (required version >= 5.12.0)
 * Qt5LinguistTools

-- The following features have been disabled:

 * QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)

-- The following OPTIONAL packages have not been found:

 * FAM, File alteration notification support via a separate service, <http://oss.sgi.com/projects/fam>
   Provides file alteration notification facilities using a separate service. FAM provides additional support for NFS.
 * Procstat
   Process information using libprocstat
 * PythonModuleGeneration

-- 

Installing in /usr/local. Run /media/backup6/qet/build/_deps/kwidgetsaddons-build/prefix.sh to set the environment for qelectrotech.
-- At least one python version must be available to use PythonModuleGeneration.
-- The following features have been enabled:

 * DESIGNERPLUGIN, Build plugin for Qt Designer

-- The following OPTIONAL packages have been found:

 * Threads
 * Inotify
   Filesystem alteration notifications using inotify
 * SharedMimeInfo (required version >= 1.3), A database of common MIME types, <https://freedesktop.org/wiki/Software/shared-mime-info/>
   Allows KDE applications to determine file types

-- The following REQUIRED packages have been found:

 * QT
 * Qt5Gui (required version >= 5.15.1)
 * Qt5Concurrent
 * Qt5Xml
 * Qt5Svg
 * Qt5Network
 * Qt5Sql
 * Qt5PrintSupport
 * ECM (required version >= 5.70.0), Extra CMake Modules., <https://commits.kde.org/extra-cmake-modules>
 * Qt5Widgets
 * Qt5 (required version >= 5.12.0)
 * Qt5Core
 * Qt5LinguistTools
 * Qt5UiPlugin
   Required to build Qt Designer plugins

-- The following features have been disabled:

 * QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)

-- The following OPTIONAL packages have not been found:

 * FAM, File alteration notification support via a separate service, <http://oss.sgi.com/projects/fam>
   Provides file alteration notification facilities using a separate service. FAM provides additional support for NFS.
 * Procstat
   Process information using libprocstat
 * PythonModuleGeneration

 - fetch_singleapplication
 - fetch_pugixml
CMake Warning (dev) at /usr/share/cmake-3.18/Modules/CTest.cmake:50 (option):
  Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
  --help-policy CMP0077" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  For compatibility with older versions of CMake, option is clearing the
  normal variable 'BUILD_TESTING'.
Call Stack (most recent call first):
  build/_deps/pugixml-src/CMakeLists.txt:7 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

.. CATCH_INCLUDE_DIR is not set,assuming Catch2 can be found automatically in your system
. Add sub directorie googletest
..___________________________________________________________________
.. PROJECT_NAME              :G_unittests
.. PROJECT_SOURCE_DIR        :/media/backup6/qet/tests/googletest
.. QET_DIR                   :/media/backup6/qet
.. QET_COMPONENTS is not set !!! I set them up !!!
 - qet_compilation_vars
.. QT_VERSION_MAJOR          :5
-- Found PythonInterp: /usr/bin/python (found version "2.7.18") 
 - fetch_kdeaddons
 - fetch_singleapplication
 - fetch_pugixml
. Add sub directorie googlemock
..___________________________________________________________________
.. PROJECT_NAME              :G_unitmocktests
.. PROJECT_SOURCE_DIR        :/media/backup6/qet/tests/googlemock
.. QET_DIR                   :/media/backup6/qet
.. QET_COMPONENTS is not set !!! I set them up !!!
 - qet_compilation_vars
.. QT_VERSION_MAJOR          :5
 - fetch_kdeaddons
 - fetch_singleapplication
 - fetch_pugixml
. Add sub directorie qttest
..___________________________________________________________________
.. PROJECT_NAME              :qt_unittests
.. PROJECT_SOURCE_DIR        :/media/backup6/qet/tests/qttest
.. QET_DIR                   :/media/backup6/qet
.. QET_COMPONENTS is not set !!! I set them up !!!
 - qet_compilation_vars
.. QT_VERSION_MAJOR          :5
 - fetch_kdeaddons
 - fetch_singleapplication
 - fetch_pugixml
 - paths_compilation_installation
 - start_options
 - developer_options
 - git_update_submodules
 - git_last_commit_sha
 - fetch_kdeaddons
 - fetch_singleapplication
 - fetch_pugixml
 - qet_compilation_vars
 - define_definitions
Paths used for compilation and installation of QET
--------------------------------------------------
COMPIL_PREFIX              /usr/local/
INSTALL_PREFIX             /usr/local/
QET_BINARY_PATH            bin/
QET_COMMON_COLLECTION_PATH /usr/local/share/qelectrotech/elements/
QET_COMMON_TBT_PATH        /usr/local/share/qelectrotech/titleblocks/
QET_LANG_PATH              /usr/local/share/qelectrotech/lang/
QET_EXAMPLES_PATH          /usr/local/share/qelectrotech/examples/
QET_LICENSE_PATH           doc/qelectrotech/
QET_MIME_XML_PATH          ../share/mime/application/
QET_MIME_DESKTOP_PATH      ../share/mimelnk/application/
QET_MIME_PACKAGE_PATH      ../share/mime/packages/
QET_DESKTOP_PATH           share/applications/
QET_ICONS_PATH             share/icons/hicolor/
QET_MAN_PATH               man/
QET_APPDATA_PATH           share/appdata
ICON                       
--------------------------------------------------
PROJECT_NAME              :qelectrotech
PROJECT_VERSION           :0.8.0
PROJECT_DESCRIPTION       :QET is a CAD/CAE editor focusing on schematics drawing features.
PROJECT_HOMEPAGE_URL      :https://qelectrotech.org/
PROJECT_SOURCE_DIR        :/media/backup6/qet
QET_DIR                   :/media/backup6/qet
GIT_COMMIT_SHA            :7fc9d06eef67c2aa6355b23ce2468a4d2f3b6d3d
KF5_GIT_TAG               :v5.70.0
QET_COMPONENTS            :WidgetsConcurrentXmlSvgNetworkSqlPrintSupportLinguistTools
QT_VERSION_MAJOR          :5
-- Configuring done
-- Generating done
-- Build files have been written to: /media/backup6/qet/build

2,519

(10 replies, posted in Code)

Debian unstable here,
Debian Stretch for AppImages
Debian Buster for stable backport


dd sub directorie tests
.____________________________________________________________________
. PROJECT_NAME              :unittests
. PROJECT_SOURCE_DIR        :/media/backup6/qet/tests
. Add sub directorie catch
..___________________________________________________________________
.. PROJECT_NAME              :C_unittests
.. PROJECT_SOURCE_DIR        :/media/backup6/qet/tests/catch
.. QET_DIR                   :/media/backup6/qet
.. QET_COMPONENTS is not set !!! I set them up !!!
- qet_compilation_vars
.. QT_VERSION_MAJOR   :5
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5LinguistTools"
  with any of the following names:

    Qt5LinguistToolsConfig.cmake
    qt5linguisttools-config.cmake

  Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
  set "Qt5LinguistTools_DIR" to a directory containing one of the above
  files.  If "Qt5LinguistTools" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  tests/catch/CMakeLists.txt:56 (find_package)


https://packages.debian.org/sid/amd64/q … s/filelist

2,520

(10 replies, posted in Code)

@De-Backer: try this https://qelectrotech.org/forum/viewtopic.php?id=1525

2,521

(317 replies, posted in News)

scorpio810 wrote:

For now I need found a solution for fix new KF5 KCoreAddons:

n file included from ../sources/diagram.h:27:0,
                 from ../sources/conductorautonumerotation.cpp:23:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
In file included from ../sources/diagram.h:27:0,
                 from ../sources/diagramcontent.cpp:20:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
In file included from ../sources/ui/titleblockpropertieswidget.h:23:0,
                 from ../sources/configpages.h:22,
                 from ../sources/configdialog.cpp:20:
../sources/ui/../qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
In file included from ../sources/diagram.h:27:0,
                 from ../sources/conductornumexport.cpp:20:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
Makefile.Release:21538 : la recette pour la cible « release/conductorautonumerotation.o » a échouée
make[1]: *** [release/conductorautonumerotation.o] Erreur 1
make[1]: *** Attente des tâches non terminées....
Makefile.Release:22215 : la recette pour la cible « release/configdialog.o » a échouée
make[1]: *** [release/configdialog.o] Erreur 1
Makefile.Release:23212 : la recette pour la cible « release/diagramcontent.o » a échouée
make[1]: *** [release/diagramcontent.o] Erreur 1
Makefile.Release:21725 : la recette pour la cible « release/conductornumexport.o » a échouée
make[1]: *** [release/conductornumexport.o] Erreur 1
In file included from ../sources/diagram.h:27:0,
                 from ../sources/diagram.cpp:18:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
Makefile.Release:22806 : la recette pour la cible « release/diagram.o » a échouée
make[1]: *** [release/diagram.o] Erreur 1
In file included from ../sources/ui/titleblockpropertieswidget.h:23:0,
                 from ../sources/configpages.h:22,
                 from ../sources/configpages.cpp:19:
../sources/ui/../qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
Makefile.Release:22397 : la recette pour la cible « release/configpages.o » a échouée
make[1]: *** [release/configpages.o] Erreur 1
In file included from ../sources/diagram.h:27:0,
                 from ../sources/diagramcommands.h:27,
                 from ../sources/diagramcommands.cpp:18:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
Makefile.Release:23009 : la recette pour la cible « release/diagramcommands.o » a échouée
make[1]: *** [release/diagramcommands.o] Erreur 1
In file included from ../sources/diagram.h:27:0,
                 from ../sources/diagramcommands.h:27,
                 from ../sources/diagramview.cpp:21:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
Makefile.Release:23671 : la recette pour la cible « release/diagramview.o » a échouée
make[1]: *** [release/diagramview.o] Erreur 1
In file included from ../sources/diagram.h:27:0,
                 from ../sources/elementprovider.cpp:20:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
Makefile.Release:24049 : la recette pour la cible « release/elementprovider.o » a échouée
make[1]: *** [release/elementprovider.o] Erreur 1
In file included from ../sources/diagram.h:27:0,
                 from ../sources/exportdialog.h:21,
                 from ../sources/createdxf.cpp:23:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
In file included from ../sources/diagram.h:27:0,
                 from ../sources/bordertitleblock.cpp:21:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
Makefile.Release:22575 : la recette pour la cible « release/createdxf.o » a échouée
make[1]: *** [release/createdxf.o] Erreur 1
Makefile.Release:21315 : la recette pour la cible « release/bordertitleblock.o » a échouée
make[1]: *** [release/bordertitleblock.o] Erreur 1
make[1]: *** wait : Aucun processus enfant. Arrêt.
Makefile:42 : la recette pour la cible « release » a échouée           

Hmm .. fixed in the past but I don't remenber how I fixed this ..
https://qelectrotech.org/forum/viewtopi … 498#p13498
https://qelectrotech.org/forum/viewtopi … 140#p12140

Fixed :
https://invent.kde.org/sdk/kdesrc-build/-/issues/45

2,522

(317 replies, posted in News)

Maybe try on Linux like this:
https://qelectrotech.org/forum/viewtopi … 880#p10880

2,523

(10 replies, posted in Code)

Maybe seems useful to integrate qt translations  without import manually all Qt translations in packages.

2,524

(317 replies, posted in News)

Is 's run with KF5 5.70 and I use qmake
Same issue now on AppImage I have updated to Qt 5.15.2 yesterday with latest KF5 5.77.

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

2,525

(317 replies, posted in News)

For now I need found a solution for fix new KF5 KCoreAddons:

n file included from ../sources/diagram.h:27:0,
                 from ../sources/conductorautonumerotation.cpp:23:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
In file included from ../sources/diagram.h:27:0,
                 from ../sources/diagramcontent.cpp:20:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
In file included from ../sources/ui/titleblockpropertieswidget.h:23:0,
                 from ../sources/configpages.h:22,
                 from ../sources/configdialog.cpp:20:
../sources/ui/../qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
In file included from ../sources/diagram.h:27:0,
                 from ../sources/conductornumexport.cpp:20:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
Makefile.Release:21538 : la recette pour la cible « release/conductorautonumerotation.o » a échouée
make[1]: *** [release/conductorautonumerotation.o] Erreur 1
make[1]: *** Attente des tâches non terminées....
Makefile.Release:22215 : la recette pour la cible « release/configdialog.o » a échouée
make[1]: *** [release/configdialog.o] Erreur 1
Makefile.Release:23212 : la recette pour la cible « release/diagramcontent.o » a échouée
make[1]: *** [release/diagramcontent.o] Erreur 1
Makefile.Release:21725 : la recette pour la cible « release/conductornumexport.o » a échouée
make[1]: *** [release/conductornumexport.o] Erreur 1
In file included from ../sources/diagram.h:27:0,
                 from ../sources/diagram.cpp:18:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
Makefile.Release:22806 : la recette pour la cible « release/diagram.o » a échouée
make[1]: *** [release/diagram.o] Erreur 1
In file included from ../sources/ui/titleblockpropertieswidget.h:23:0,
                 from ../sources/configpages.h:22,
                 from ../sources/configpages.cpp:19:
../sources/ui/../qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
Makefile.Release:22397 : la recette pour la cible « release/configpages.o » a échouée
make[1]: *** [release/configpages.o] Erreur 1
In file included from ../sources/diagram.h:27:0,
                 from ../sources/diagramcommands.h:27,
                 from ../sources/diagramcommands.cpp:18:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
Makefile.Release:23009 : la recette pour la cible « release/diagramcommands.o » a échouée
make[1]: *** [release/diagramcommands.o] Erreur 1
In file included from ../sources/diagram.h:27:0,
                 from ../sources/diagramcommands.h:27,
                 from ../sources/diagramview.cpp:21:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
Makefile.Release:23671 : la recette pour la cible « release/diagramview.o » a échouée
make[1]: *** [release/diagramview.o] Erreur 1
In file included from ../sources/diagram.h:27:0,
                 from ../sources/elementprovider.cpp:20:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
Makefile.Release:24049 : la recette pour la cible « release/elementprovider.o » a échouée
make[1]: *** [release/elementprovider.o] Erreur 1
In file included from ../sources/diagram.h:27:0,
                 from ../sources/exportdialog.h:21,
                 from ../sources/createdxf.cpp:23:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
In file included from ../sources/diagram.h:27:0,
                 from ../sources/bordertitleblock.cpp:21:
../sources/qetproject.h:31:25: fatal error: KAutoSaveFile: Aucun fichier ou dossier de ce type
 #include <KAutoSaveFile>
                         ^
compilation terminated.
Makefile.Release:22575 : la recette pour la cible « release/createdxf.o » a échouée
make[1]: *** [release/createdxf.o] Erreur 1
Makefile.Release:21315 : la recette pour la cible « release/bordertitleblock.o » a échouée
make[1]: *** [release/bordertitleblock.o] Erreur 1
make[1]: *** wait : Aucun processus enfant. Arrêt.
Makefile:42 : la recette pour la cible « release » a échouée           

Hmm .. fixed in the past but I don't remenber how I fixed this ..
https://qelectrotech.org/forum/viewtopi … 498#p13498
https://qelectrotech.org/forum/viewtopi … 140#p12140