Git BASH
Git for Windows provides a BASH emulation used to run Git from the command line. *NIX users should feel right at home, as the BASH emulation behaves just like the "git" command in LINUX and UNIX environments.
1,001 2023-11-09 11:57:01
Re: Use QT Creator to build qelecotech source code under windows (41 replies, posted in Code)
1,002 2023-11-09 11:33:44
Re: Use QT Creator to build qelecotech source code under windows (41 replies, posted in Code)
If you download zip source code you don't have sub-modules, also please git to clone the repository.
https://www.reddit.com/r/github/comment … of_master/
https://github.com/dear-github/dear-github/issues/214
git clone --recursive https://github.com/qelectrotech/qelectrotech-source-mirror.git
1,003 2023-11-08 14:56:03
Re: Use QT Creator to build qelecotech source code under windows (41 replies, posted in Code)
I remember on Windows in list program Qt you have a terminal based on minGW, maybe try it..
Maybe
Edit the PATH where find qmake lile this:
\Qt\5.15.0\mingw81_64\bin\qmake ..\qelectrotech.proOr use this command with the right path in your terminal before using qmake command..
SET QTPATH=C:\Qt\5.12.4\mingw73_32
1,004 2023-11-08 13:56:06
Re: AppImage: Crash when in textfield -> right click (13 replies, posted in Code)
Ok, I saw the crash, but it didn't crash with my Debian deb packages so I think it's because of old versions of Qt on the QEMU/KVM Debian 11 VM..
FYI, I tried to build a new VM based on DigiKam scripts for the appimage with xubuntu 18.04 GCC 11 and compile Qt 5.15.11 but it was not possible yet to export the sqlite3 database without crashing the apimage...
https://invent.kde.org/graphics/digikam … type=heads
1,005 2023-11-08 13:01:41
Re: Use QT Creator to build qelecotech source code under windows (41 replies, posted in Code)
Hum, I think you do download KF5 branch for all, not master branch, I think master it is for Qt 6 version..
KF5 version to 5.112.0.
https://invent.kde.org/frameworks/extra … type=heads
https://invent.kde.org/frameworks/kcore … type=heads
https://invent.kde.org/frameworks/kwidg … type=heads
1,006 2023-11-08 12:43:52
Re: AppImage: Crash when in textfield -> right click (13 replies, posted in Code)
I can't reproduce your crash here on my Debian, what your OS?
1,007 2023-11-08 12:40:01
Re: Use QT Creator to build qelecotech source code under windows (41 replies, posted in Code)
1,008 2023-11-08 12:25:27
Re: Use QT Creator to build qelecotech source code under windows (41 replies, posted in Code)
1,009 2023-11-08 12:13:13
Re: Use QT Creator to build qelecotech source code under windows (41 replies, posted in Code)
Maybe send D:/QET_Chinese/kcoreaddons-master/build/CMakeFiles/CMakeOutput.log".
1,010 2023-11-08 11:37:48
Re: Use QT Creator to build qelecotech source code under windows (41 replies, posted in Code)
====== Installing development tools for Microsoft Windows======
===== Install Qt: =====
Follow the instructions in this https://guillaumebelz.github.io/qtinstall in order to correctly install Qt
Create the QTPATH environment variable. For that :
Go to the Windows control panel, in the search bar type 'environment variable', in the result go to 'Modify system environment variables', in the dialog click on 'Environment variable' in the new dialog in 'system variable' click on 'new'.
Variable name:
QTPATHvalue of the variable:
C:\Qt\5.15.0\mingw81_64The path will need to be adapted according to your case.
Add minGW to the PATH environment variable, to do this:
Go to the Windows control panel, in the search bar type 'environment variable', in the result go to 'Modify system environment variables', in the dialog click on 'Environment variable' in the new dialog in 'system variable' select the 'Path' line then click on modify. In the 'Variable value' field add at the end
;C:\Qt\Tools\mingw810_64\bin\the path will have to be adapted according to your case.
===== Installing cmake =====
Download the installer from the https://cmake.org/install/
During installation if you are asked to add cmake to the PATH do so (for all users) otherwise you will have to manually add the cmake bin folder to the PATH, see the procedure above. The path will be something like ''C:\Program Files\CMake\bin''.
===== ECM =====
The procedure used comes from this https://qelectrotech.org/forum/viewtopi … 120#p10120
Download https://github.com/KDE/extra-cmake-modules then unzip it to the folder of your choice.
In a command guest:
cd (path of ecm)
cmake -DCMAKE_INSTALL_PREFIX=%QTPATH% -G "MinGW Makefiles"
mingw32-make installCompile KwidgetAddons and KcoreAddons (libraries used by QElectroTech)
The procedure used comes from this forum post and this one.
KCoreAddons
https://github.com/KDE/kcoreaddons
Download KCoreAddons and unzip it to the folder of your choice. In a command guest:
cd (path of kcoreaddons)
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=%QTPATH% -DCMAKE_PREFIX_PATH=$QTPATH -G "MinGW Makefiles" -DZLIB_LIBRARY:FILEPATH=C:\Qt\Tools\mingw810_64\x86_64-w64-mingw32\lib\libz.a
mingw32-make
mingw32-make installthe path C:\Qt\Tools\mingw810_64\x86_64-w64-mingw32\lib\libz.a must be adapted according to your case.
Rename C:\Qt\5.15.0\mingw81_64\lib\libKF5CoreAddons.dll.a to libKF5CoreAddons.a (Path to adapt according to your case).
KWidgetAddons
https://github.com/KDE/kwidgetsaddons
Download KWidgetAddons and unzip it to the folder of your choice. In a command guest:
cd (kwidgetsaddons path)
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=%QTPATH% -DCMAKE_PREFIX_PATH=$QTPATH -G "MinGW Makefiles" -DZLIB_LIBRARY:FILEPATH=C:\Qt\Tools\mingw810_64\x86_64-w64-mingw32\lib\libz.a
mingw32-make
mingw32-make installthe path C:\Qt\Tools\mingw810_64\x86_64-w64-mingw32\lib\libz.a must be adapted according to your case.
Rename C:\Qt\5.15.0\mingw81_64\lib\libKF5WidgetsAddons.dll.a to libKF5WidgetsAddons.a (Path to adapt according to your case).
Retrieve QElectrotech sources with git
Install git for windows.
Download the code from the github repository https://github.com/qelectrotech/qelectr … rce-mirror
git clone https://github.com/qelectrotech/qelectrotech-source-mirror.git
cd qelectrotech-source-mirror.git
git submodule update --init --recursive
mkdir build
cd build
qmake ..\qelectrotech.pro
make -j8
1,011 2023-11-08 09:52:19
Re: Use QT Creator to build qelecotech source code under windows (41 replies, posted in Code)
TRY to copy your KWidgetsAddons KCoreAddons. mkspecs/modules/*.pri to D:\QT\5.15.2\mingw73_32\mkspecs\modules\
After in D:\QT\5.15.2\mingw73_32\mkspecs \modules\
edit KWidgetsAddons KCoreAddons pri files like :
https://invent.kde.org/sdk/kdesrc-build … note_53888
Replace "$$PWD/../../" by real PATH in KWidgetsAddons KCoreAddons pri
See my example on OSX,
https://qelectrotech.org/wiki_new/doc/macosx
1,012 2023-11-08 09:33:53
Re: Use QT Creator to build qelecotech source code under windows (41 replies, posted in Code)
rename D:\QT\5.12.4\mingw73_32\lib\libKF5CoreAddons.dll.a to libKF5CoreAddons.a
rename D:\QT\5.12.4\mingw73_32\lib\libKF5WidgetsAddons.dll.a to libKF5WidgetsAddons.a
1,013 2023-11-07 17:50:31
Re: ROTATE ELEMENT OR TEXT WITH THE SAPCE KEY (7 replies, posted in EN : Help, suggestions, discussions, ...)
BTW, you need to use now dynamic text, under folio you rotate it when you want, its not the case for static text!
1,014 2023-11-07 12:51:40
Re: Use QT Creator to build qelecotech source code under windows (41 replies, posted in Code)
A question: why do you want to compile yourself QElectroTech, we offert a lot of packages here?
1,015 2023-11-07 12:39:14
Re: Use QT Creator to build qelecotech source code under windows (41 replies, posted in Code)
cmake .. -DCMAKE_INSTALL_PREFIX=%QTPATH% -DCMAKE_PREFIX_PATH=$QTPATH -G "MinGW Makefiles" -DZLIB_LIBRARY:FILEPATH=D:\QT\Tools\Tools\mingw730_64\x86_64-w64-mingw32\lib\libz.a
Hmm try:
cmake .. -DCMAKE_INSTALL_PREFIX=%QTPATH% -DCMAKE_PREFIX_PATH=$QTPATH -G "MinGW Makefiles" -DZLIB_LIBRARY:FILEPATH=D:\QT\Tools\mingw730_64\x86_64-w64-mingw32\libz.a
1,016 2023-11-07 12:08:41
Re: Use QT Creator to build qelecotech source code under windows (41 replies, posted in Code)
It's more easy to compile on Linux, like Ubuntu/Debian if you know?
1,017 2023-11-07 11:51:55
Re: Use QT Creator to build qelecotech source code under windows (41 replies, posted in Code)
Hello,
CMake Error at D:/CMake/share/ECM/modules/ECMQueryQt.cmake:84 (message):
No executable found. Can't check QT_INSTALL_PREFIX as required
maybe you forgot to enter in your terminal before this command:
SET QTPATH=C:\Qt\5.12.4\mingw73_64
But I saw you have Qt5 installed on D:/QT ?? maybe correct your SET with good path and correct the Qt version and also minGW version?
SET QTPATH=D:\QT\5.12.4\mingw73_64
1,018 2023-11-07 09:38:08
Re: Request - Fixed Visible Column and Row Headers/Names (16 replies, posted in EN : Help, suggestions, discussions, ...)
Any progress and a fix possible?
Fix : new conductor have text without variable replaced
+
Fix bug 293: Automatic conductor numbering does not work
1,019 2023-11-06 13:17:18
Re: Elements Arduino (6 replies, posted in Elements)
T'as regardé dans le dossier arduino et raspberry?
1,020 2023-11-06 10:19:46
Re: Nouveautés de la version de développement 0.9 and 0.100.0 -0.100.1 (273 replies, posted in News)
Change weighting of second conductor color, see : https://qelectrotech.org/bugtracker/view.php?id=292
On old project you can search and replace with an text editor in your project.qet file :
dash-size="10" by dash-size="5" by example..
1,021 2023-11-06 09:22:47
Re: Use QT Creator to build qelecotech source code under windows (41 replies, posted in Code)
1,022 2023-11-05 16:22:06
Re: Mise à jour d'un élément après édition. (9 replies, posted in FR : Aide, suggestions, discussions, ...)
Par contre il te vaut mieux enregistrer sous avec un nouveau nom, car si tu bouges ou rajoute ou enlèves des bornes ça ne fonctionnera pas. Tu perdras les fils existant déja connectés a tes anciens symboles...
1,023 2023-11-05 16:13:53
Re: Mise à jour d'un élément après édition. (9 replies, posted in FR : Aide, suggestions, discussions, ...)
Oui la vidéo en MP4 ne passait pas sur le forum, je l'ai reconvertie en webM:
ffmpeg -i edit_element.mp4 -c:v libvpx-vp9 -crf 30 -b:v 0 -b:a 128k -c:a libopus edit_element.webm
1,024 2023-11-05 16:11:31
Re: Mise à jour d'un élément après édition. (9 replies, posted in FR : Aide, suggestions, discussions, ...)
Merci pour ta vidéo, mais enregistre et ferme le projet, quand tu le ré ouvre la modification sera faite.
1,025 2023-11-05 15:31:43
Re: Mise à jour d'un élément après édition. (9 replies, posted in FR : Aide, suggestions, discussions, ...)
Étrange, quelle version as tu?
Je te conseille celle en dev.
