changed aarch64 build system

This commit is contained in:
Christoph Holzheuer
2026-04-02 14:36:47 +02:00
parent c3e5092845
commit b05180f575
12 changed files with 207 additions and 29 deletions

14
runme.txt Normal file
View File

@@ -0,0 +1,14 @@
docker build -t qt-cross-rpi .
// eigentlich: docker buildx build --platform linux/arm64 -t qt-cross-rpi --load .
docker run --rm -it -v "$(pwd):/workspace" qt-cross-rpi bash
# 1. Erstelle einen separaten Build-Ordner und wechsle dorthin
mkdir build
cd build
# 2. Konfiguriere das Projekt mit CMake und deiner Toolchain-Datei für aarch64
cmake -DCMAKE_TOOLCHAIN_FILE=../aarch64-toolchain.cmake -G Ninja ..
# 3. Starte den Kompiliervorgang
ninja