876

(20 replies, posted in Videos howto)

You can send example on DigiKam https://invent.kde.org/graphics/digikam … type=heads to upgrase QET NSIS to 3X versions..

878

(236 replies, posted in News)

FYI, I made a new VM QEMU/KVM based on Xubuntu 20.04 and now based also to DigiKam scripts to build new AppImages
https://invent.kde.org/graphics/digikam … type=heads

Release          Released    End of life
Ubuntu 20.04 LTS    Apr 2020    Apr 2025

https://qelectrotech.org/forum/viewtopi … 061#p19061

GCC 8.0.0 -> GCC 13.1.0
Qt 5.11.3 -> Qt 5.15.11
KF5 5.67  -> KF5 5.110


QElectroTech V 0.100.0-dev
Compilation : GCC 13.1.0
Built with Qt 5.15.11 - x86_64 - Date : Nov 10 2023 : 13:58:25
Git Revision : 7447a7fd44271604868a0007698d96429eeaccab
Run with Qt 5.15.11 using 48 thread(s)

Enjoy! nomicons/wink

Edit: Changed to GCC 11 version.

879

(13 replies, posted in Code)

Updated and rebuilded to more recent version of compiler:

QElectroTech V 0.100.0-dev
Compilation : GCC 13.1.0
Built with Qt 5.15.11 - x86_64 - Date : Nov 10 2023 : 13:58:25
Git Revision : 7447a7fd44271604868a0007698d96429eeaccab 
Run with Qt 5.15.11 using 48 thread(s)
CPU : model name : AMD Ryzen Threadripper 3960X 24-Core Processor 
RAM Total : 64 GB
RAM Available : 42 GB
GPU : Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] (rev df) 
GPU RAM : Video memory: 10240MB Dedicated video memory: 10240 MB Currently available dedicated video memory: 8620 MB 
OS : linux - x86_64 - Version : Debian GNU/Linux trixie/sid - Kernel : 6.5.0-4-amd64

Create a new directory qelectrotech.
inside create a new bin folder put your qelectrotech.exe here.
copy elements, lang, tittlebock, misc folder in qelectrotech dir.

Put Lancer QET.bat in qelectrotech dir, doodle ckick on Lancer QET.bat to launch program and collections.

use this file to launch qelectrotech https://github.com/qelectrotech/qelectr … %20QET.bat

Yes, you can.

Comment this line too https://github.com/qelectrotech/qelectr … h.pro#L255

Delete all files in build dir and go away.

https://qelectrotech.org/forum/viewtopi … 123#p15123

Comment this line https://github.com/qelectrotech/qelectr … ch.pro#L61 if you don't have sqlite3 package installed.

886

(13 replies, posted in Code)

Ok now \o/,

QElectroTech V 0.100.0-dev
Compilation : GCC 9.4.0
Built with Qt 5.15.11 - x86_64 - Date : Nov 9 2023 : 18:34:24
Git Revision : 9f2dbfa39ac3ad10a520983904b21a8685ea4cbe
Run with Qt 5.15.11 using 48 thread(s)

887

(13 replies, posted in Code)

FYI, I have made a little progress in my work, after hacks off /3rdparty/ext_qt5/CMakeLists.txt for Qt 5.15.11,  I no longer have a crash in the SQLite export and it's work, unfortunately my Appimage no longer works, I am going to upgrade to XUbuntu 20.04..

diff --git a/project/bundles/3rdparty/CMakeLists.txt b/project/bundles/3rdparty/CMakeLists.txt
index cce6f9478e..17125be48c 100644
--- a/project/bundles/3rdparty/CMakeLists.txt
+++ b/project/bundles/3rdparty/CMakeLists.txt
@@ -5,7 +5,7 @@
# SPDX-License-Identifier: BSD-3-Clause
#
 
-cmake_minimum_required(VERSION 3.16)
+cmake_minimum_required(VERSION 3.3.2)
 
project(digikam-bundles)
 
diff --git a/project/bundles/3rdparty/ext_qt5/CMakeLists.txt b/project/bundles/3rdparty/ext_qt5/CMakeLists.txt
index d2369b53fc..d92a921945 100644
--- a/project/bundles/3rdparty/ext_qt5/CMakeLists.txt
+++ b/project/bundles/3rdparty/ext_qt5/CMakeLists.txt
@@ -38,7 +38,7 @@ ExternalProject_Add(ext_qt5
                   -release
                   -opensource
                   -confirm-license
-                  -sql-sqlite                       # Compile Sqlite SQL plugin
+                  -system-sqlite                # Compile Sqlite SQL plugin
                   -sql-mysql                        # Compile Mysql SQL plugin
#                  -iconv                            # International string conversion
                   -icu
diff --git a/project/bundles/appimage/01-build-host.sh b/project/bundles/appimage/01-build-host.sh
index 6e14ec6f23..9507b258f3 100755
--- a/project/bundles/appimage/01-build-host.sh
+++ b/project/bundles/appimage/01-build-host.sh
@@ -81,18 +81,11 @@ cmake $ORIG_WD/../3rdparty \
       -DKA_VERSION=$DK_KA_VERSION \
       -DKP_VERSION=$DK_KP_VERSION \
       -DKDE_VERSION=$DK_KDE_VERSION \
-      -DENABLE_QTVERSION=$DK_QTVERSION \
-      -DENABLE_QTWEBENGINE=$DK_QTWEBENGINE
+      -DENABLE_QTVERSION=$DK_QTVERSION
 
# Install new cmake recent version and shared lib
 
cmake --build . --config RelWithDebInfo --target ext_cmake           -- -j$CPU_CORES
-cmake --build . --config RelWithDebInfo --target ext_jasper          -- -j$CPU_CORES
-cmake --build . --config RelWithDebInfo --target ext_libde265        -- -j$CPU_CORES
-cmake --build . --config RelWithDebInfo --target ext_libjxl          -- -j$CPU_CORES
-cmake --build . --config RelWithDebInfo --target ext_libaom          -- -j$CPU_CORES
-cmake --build . --config RelWithDebInfo --target ext_libavif         -- -j$CPU_CORES
-cmake --build . --config RelWithDebInfo --target ext_ffmpeg          -- -j$CPU_CORES
 
#################################################################################################
 
@@ -107,9 +100,7 @@ cmake $ORIG_WD/../3rdparty \
       -DKA_VERSION=$DK_KA_VERSION \
       -DKP_VERSION=$DK_KP_VERSION \
       -DKDE_VERSION=$DK_KDE_VERSION \
-      -DENABLE_QTVERSION=$DK_QTVERSION \
-      -DENABLE_QTWEBENGINE=$DK_QTWEBENGINE \
-      -DQTWEBENGINE_VERSION=$DK_QTWEBENGINEVERSION
+      -DENABLE_QTVERSION=$DK_QTVERSION
 
# Low level libraries and Qt dependencies
# NOTE: The order to compile each component here is very important.
@@ -121,9 +112,7 @@ cmake --build . --config RelWithDebInfo --target ext_openssl         -- -j$CPU_C
 
cmake --build . --config RelWithDebInfo --target ext_qt$DK_QTVERSION -- -j$CPU_CORES    # depend of tiff, png, jpeg
 
-if [[ $DK_QTWEBENGINE = 0 ]] ; then
-    cmake --build . --config RelWithDebInfo --target ext_qtwebkit    -- -j$CPU_CORES    # depend of Qt and libicu
-fi
+
 
# Clean up previous openssl install
 
@@ -131,9 +120,7 @@ rm -fr /usr/local/lib/libssl.a    || true
rm -fr /usr/local/lib/libcrypto.a || true
rm -fr /usr/local/include/openssl || true
 
-cmake --build . --config RelWithDebInfo --target ext_imagemagick     -- -j$CPU_CORES
-cmake --build . --config RelWithDebInfo --target ext_opencv          -- -j$CPU_CORES
-cmake --build . --config RelWithDebInfo --target ext_heif            -- -j$CPU_CORES
+
 
#################################################################################################
 
diff --git a/project/bundles/appimage/common.sh b/project/bundles/appimage/common.sh
index 9fe359f608..fb731323dc 100644
--- a/project/bundles/appimage/common.sh
+++ b/project/bundles/appimage/common.sh
@@ -132,17 +132,5 @@ invent.kde.org \
tinami.kde.org \
"
 
-if [[ ! -f $HOME/.ssh/known_hosts ]] ; then
-    touch $HOME/.ssh/known_hosts
-fi
-
-for server in $SERVER_LIST; do
-
-    echo "Register $server"
-
-    ssh-keygen -R $server
-    ssh-keyscan -H $server >> $HOME/.ssh/known_hosts
-
-done
 
}
diff --git a/project/bundles/appimage/config.sh b/project/bundles/appimage/config.sh
index 0b243d3a88..e560ccfde5 100644
--- a/project/bundles/appimage/config.sh
+++ b/project/bundles/appimage/config.sh
@@ -61,7 +61,7 @@ DK_KA_VERSION="23.08.1"
DK_DEBUG=0
 
# Option to use QtWebEngine instead QtWebkit
-DK_QTWEBENGINE=1
+DK_QTWEBENGINE=0
 
# Installer sub version to differentiates newer updates of the installer itself, even if the underlying application hasn’t changed.
#DK_SUBVER="-01"
@@ -70,7 +70,7 @@ DK_QTWEBENGINE=1
DK_SIGN=0
 
# Upload automatically bundle to files.kde.org (pre-release only).
-DK_UPLOAD=1
+DK_UPLOAD=0
DK_UPLOADURL="digikam@tinami.kde.org"
 
# KDE frameworks version + Upload URL.
diff --git a/project/bundles/appimage/host_ubuntu.inc b/project/bundles/appimage/host_ubuntu.inc
index f70880b414..0d5f8e2c6d 100644
--- a/project/bundles/appimage/host_ubuntu.inc
+++ b/project/bundles/appimage/host_ubuntu.inc
@@ -211,11 +211,7 @@ for pkg in ${optional_packages[@]}; do
     echo "-------------------------------------------------------------------"
done
 
-# Install more recent version of NodeJs for QtWebEngine.
-# https://learnubuntu.com/update-node-js/
 
-curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
-sudo apt-get install nodejs
 
echo -e "---------- Clean-up Old Packages\n"

mingw32-make

https://stackoverflow.com/questions/237 … nd-operabl
https://stackoverflow.com/questions/738 … and-operab

I put a zip of repository with submodules here:
https://download.qelectrotech.org/qet/s … mirror.zip

https://gitforwindows.org/

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.

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

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

Or use this command with the right path in your terminal before using qmake command..

SET QTPATH=C:\Qt\5.12.4\mingw73_32

893

(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

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

895

(13 replies, posted in Code)

I can't reproduce your crash here on my Debian, what your OS?

https://github.com/KDE/extra-cmake-modu … .cmake#L30

https://api.kde.org/ecm/module/ECMQueryQt.html

Maybe send D:/QET_Chinese/kcoreaddons-master/build/CMakeFiles/CMakeOutput.log".

====== 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:

QTPATH

value of the variable:

C:\Qt\5.15.0\mingw81_64

The 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 install



Compile 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 install

the 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 install

the 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

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