Rebuild with GCC 9
QElectroTech V 0.100.0-dev
Compilation : GCC 9.4.0
Built with Qt 5.15.11 - x86_64 - Date : Nov 12 2023 : 10:26:57
Git Revision : 4d501361460dbcf648944c0ac39f9a16b4b49bbf
Run with Qt 5.15.11 using 48 thread(s)
You are not logged in. Please login or register.
QElectroTech → Posts by scorpio810
Rebuild with GCC 9
QElectroTech V 0.100.0-dev
Compilation : GCC 9.4.0
Built with Qt 5.15.11 - x86_64 - Date : Nov 12 2023 : 10:26:57
Git Revision : 4d501361460dbcf648944c0ac39f9a16b4b49bbf
Run with Qt 5.15.11 using 48 thread(s)
Il faut cliquer dans un endroit vide du folio pour que le widget perdre le focus.. a la longue ça se fait machinalement sans y penser..
Warnings: keep labels when your copy, but if you have links, like master/slave, or reports you need to linking again.
https://stackoverflow.com/questions/769 … gcc-13-2-0
So I use it to get new GCC 11 and now 13
https://invent.kde.org/graphics/digikam … heads#L233
So
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install --only-upgrade libstdc++6
ldd --version
on Ubuntu 20.04 VM show me GLIBC 2.31
In previous VM based on Debian 11 GLIBC 2.31 too, but you show crashes..
Here on my Debian sid:
laurent@debian:~$ ldd --version
ldd (Debian GLIBC 2.37-12) 2.37
Copyright © 2023 Free Software Foundation, Inc.
Ce logiciel est libre; voir les sources pour les conditions de
reproduction. AUCUNE garantie n'est donnée; tant pour des raisons
COMMERCIALES que pour RÉPONDRE À UN BESOIN PARTICULIER.
Écrits par Roland McGrath et Ulrich Drepper.
objdump -p ./QElectroTech_0.100.0-r7989-x86_64.AppImage
./QElectroTech_0.100.0-r7989-x86_64.AppImage: format de fichier elf64-x86-64
En-tête de programme:
PHDR off 0x0000000000000040 vaddr 0x0000000000400040 paddr 0x0000000000400040 align 2**3
filesz 0x0000000000000188 memsz 0x0000000000000188 flags r-x
INTERP off 0x00000000000001c8 vaddr 0x00000000004001c8 paddr 0x00000000004001c8 align 2**0
filesz 0x000000000000001c memsz 0x000000000000001c flags r--
LOAD off 0x0000000000000000 vaddr 0x0000000000400000 paddr 0x0000000000400000 align 2**21
filesz 0x0000000000022884 memsz 0x0000000000022884 flags r-x
LOAD off 0x0000000000023000 vaddr 0x0000000000623000 paddr 0x0000000000623000 align 2**21
filesz 0x0000000000000678 memsz 0x0000000000000798 flags rw-
DYNAMIC off 0x00000000000231e0 vaddr 0x00000000006231e0 paddr 0x00000000006231e0 align 2**3
filesz 0x00000000000001c0 memsz 0x00000000000001c0 flags rw-
EH_FRAME off 0x000000000001ec50 vaddr 0x000000000041ec50 paddr 0x000000000041ec50 align 2**2
filesz 0x0000000000000a14 memsz 0x0000000000000a14 flags r--
STACK off 0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**3
filesz 0x0000000000000000 memsz 0x0000000000000000 flags rw-
Section dynamique:
NEEDED libpthread.so.0
NEEDED libz.so.1
NEEDED libdl.so.2
NEEDED libc.so.6
INIT 0x0000000000401730
FINI 0x0000000000419568
HASH 0x00000000004001e8
STRTAB 0x0000000000400c30
SYMTAB 0x0000000000400450
STRSZ 0x00000000000002ae
SYMENT 0x0000000000000018
DEBUG 0x0000000000000000
PLTGOT 0x00000000006233f0
PLTRELSZ 0x0000000000000678
PLTREL 0x0000000000000007
JMPREL 0x00000000004010b8
RELA 0x0000000000400ff8
RELASZ 0x00000000000000c0
RELAENT 0x0000000000000018
VERNEED 0x0000000000400f88
VERNEEDNUM 0x0000000000000003
VERSYM 0x0000000000400ede
Références de version:
requis par libdl.so.2:
0x09691a75 0x00 05 GLIBC_2.2.5
requis par libpthread.so.0:
0x09691a75 0x00 03 GLIBC_2.2.5
requis par libc.so.6:
0x0d696913 0x00 04 GLIBC_2.3
0x09691a75 0x00 02 GLIBC_2.2.5
Thank you for feedback.
Un check the fisrt option.
You can send example on DigiKam https://invent.kde.org/graphics/digikam … type=heads to upgrase QET NSIS to 3X versions..
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!
Edit: Changed to GCC 11 version.
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.
Comment this line https://github.com/qelectrotech/qelectr … ch.pro#L61 if you don't have sqlite3 package installed.
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)
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"
I put a zip of repository with submodules here:
https://download.qelectrotech.org/qet/s … mirror.zip
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
QElectroTech → Posts by scorpio810
Powered by PunBB, supported by Informer Technologies, Inc.
Generated in 0.097 seconds (27% PHP - 73% DB) with 6 queries