Upgrade to Qt 6.10.3, refactor AppState for LibraryModel integration, add ChunkMeasurer tests, and update CI/docker configurations.

This commit is contained in:
Agel committed 2026-04-03 13:55:28 +02:00
1 parent 0303107fa2
commit a31b20534a
53 files changed
+2095 -880

No files matched your search

+5 -5
View File
@@ -23,18 +23,18 @@ apt-get install -y \
python3-venv
echo ""
echo "Installing Qt 6.10.1 via aqtinstall → /opt/qt ..."
echo "Installing Qt 6.10.3 via aqtinstall → /opt/qt ..."
python3 -m venv /tmp/aqt-venv
/tmp/aqt-venv/bin/pip install --quiet aqtinstall
/tmp/aqt-venv/bin/aqt install-qt linux desktop 6.10.1 linux_gcc_64 -m qtimageformats qtpdf qtwebview --outputdir /opt/qt
/tmp/aqt-venv/bin/aqt install-tool linux desktop tools_qtdesignstudio_generation2 --outputdir /opt/qt
/tmp/aqt-venv/bin/aqt install-qt linux desktop 6.10.3 linux_gcc_64 -m qtimageformats qtpdf qtwebview --outputdir /opt/qt
/tmp/aqt-venv/bin/aqt install-src linux 6.10.3 --archives qtbase qtimageformats qtwebview --outputdir /opt/qt
rm -rf /tmp/aqt-venv
echo ""
echo "All dependencies installed."
echo ""
echo "Qt 6.10.1 is at /opt/qt/6.10.1/gcc_64"
echo "Qt 6.10.3 is at /opt/qt/6.10.3/gcc_64"
echo ""
echo "Build with:"
echo " cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=/opt/qt/6.10.1/gcc_64"
echo " cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=/opt/qt/6.10.3/gcc_64"
echo " cmake --build build --parallel"
+20 -11
View File
@@ -5,26 +5,35 @@
set -euo pipefail
echo "Installing Qt 6 and dependencies via pacman..."
echo "Installing non-Qt dependencies via pacman..."
pacman -S --needed \
mingw-w64-x86_64-gcc \
mingw-w64-x86_64-zlib \
mingw-w64-x86_64-qt6-base \
mingw-w64-x86_64-qt6-declarative \
mingw-w64-x86_64-qt6-tools \
mingw-w64-x86_64-qt6-shadertools \
mingw-w64-x86_64-qt6-svg \
mingw-w64-x86_64-cmake \
mingw-w64-x86_64-ninja \
mingw-w64-x86_64-uchardet \
mingw-w64-x86_64-minizip \
mingw-w64-x86_64-quazip \
mingw-w64-x86_64-djvulibre \
mingw-w64-x86_64-libwpd
mingw-w64-x86_64-libwpd \
python3 \
python-pip \
python-setuptools \
mingw-w64-x86_64-python-psutil
echo ""
echo "Done. Verify with:"
echo " qmake6 --version"
echo " gcc --version"
echo " cmake --version"
echo "Installing Qt 6.10.3 via aqtinstall → /opt/qt ..."
python3 -m venv --system-site-packages /tmp/aqt-venv
/tmp/aqt-venv/bin/pip install --no-build-isolation aqtinstall
/tmp/aqt-venv/bin/aqt install-qt windows desktop 6.10.3 win64_mingw -m qtimageformats qtpdf qtwebview --outputdir /opt/qt
rm -rf /tmp/aqt-venv
echo ""
echo "All dependencies installed."
echo ""
echo "Qt 6.10.3 is at /opt/qt/6.10.3/mingw_64"
echo ""
echo "Build with:"
echo " cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=c:\msys64\opt\qt\6.10.3\mingw_64"
echo " cmake --build build --parallel"
+1 -1
View File
@@ -24,7 +24,7 @@ echo "Using container runtime: $RUNTIME"
# Build CI image
echo "==> Building CI image from $DOCKERFILE"
"$RUNTIME" build \
--build-arg QT_VERSION=6.10.1 \
--build-arg QT_VERSION=6.10.3 \
-t "$IMAGE_TAG" \
-f "$DOCKERFILE" \
"$PROJECT_DIR"
+1 -1
View File
@@ -32,7 +32,7 @@ echo "Using container runtime: $RUNTIME"
# Build CI image
echo "==> Building CI image from $DOCKERFILE"
"$RUNTIME" build \
--build-arg QT_VERSION=6.10.1 \
--build-arg QT_VERSION=6.10.3 \
-t "$IMAGE_TAG" \
-f "$DOCKERFILE" \
"$PROJECT_DIR"