Add separate Linux and Windows build instructions to README
Document dependency install per platform, the MSYS2 MinGW64 toolchain setup for Windows, and the cpack/NSIS installer step. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
c49d94ae93
commit
c548d5c9f7
1 changed files with 55 additions and 0 deletions
55
README.md
55
README.md
|
|
@ -45,12 +45,67 @@ Alle Attribute des offiziellen Concept-1-RS232-Protokolls werden unterstützt:
|
|||
|
||||
## Bauen
|
||||
|
||||
### Linux
|
||||
|
||||
Abhängigkeiten installieren (Arch / pacman):
|
||||
|
||||
```bash
|
||||
sudo pacman -S cmake gcc qt6-base qt6-serialport
|
||||
```
|
||||
|
||||
Bauen und starten:
|
||||
|
||||
```bash
|
||||
cmake -B build -DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build build -j
|
||||
./build/apart-controller
|
||||
```
|
||||
|
||||
> Auf anderen Distributionen heißen die Pakete z. B. `qt6-base-dev` und
|
||||
> `qt6-serialport-dev` (Debian/Ubuntu) bzw. `qt6-qtbase-devel` und
|
||||
> `qt6-qtserialport-devel` (Fedora).
|
||||
|
||||
### Windows
|
||||
|
||||
Empfohlen ist die **MSYS2 MinGW64**-Toolchain.
|
||||
|
||||
1. [MSYS2](https://www.msys2.org/) installieren und die **„MSYS2 MinGW64“**-Shell
|
||||
öffnen.
|
||||
2. Toolchain und Qt6 installieren:
|
||||
|
||||
```bash
|
||||
pacman -S --needed \
|
||||
mingw-w64-x86_64-toolchain \
|
||||
mingw-w64-x86_64-cmake \
|
||||
mingw-w64-x86_64-ninja \
|
||||
mingw-w64-x86_64-qt6-base \
|
||||
mingw-w64-x86_64-qt6-serialport \
|
||||
mingw-w64-x86_64-nsis
|
||||
```
|
||||
|
||||
3. Bauen:
|
||||
|
||||
```bash
|
||||
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build build
|
||||
./build/apart-controller.exe
|
||||
```
|
||||
|
||||
#### Installer erstellen
|
||||
|
||||
Der Installer bündelt automatisch die Anwendung, alle Qt- und MinGW-Laufzeit-DLLs
|
||||
sowie die zur Laufzeit geladenen Qt-Plugins (Plattform-, Stil-, Bildformate).
|
||||
Aus dem `build`-Verzeichnis heraus:
|
||||
|
||||
```bash
|
||||
cd build
|
||||
cpack -G NSIS
|
||||
```
|
||||
|
||||
Heraus kommt `Apart Concept 1 Controller-1.0.0-win64.exe` — ein eigenständiger
|
||||
Installer mit Start-Menü- und Desktop-Verknüpfung. Es müssen **keine** DLLs von
|
||||
Hand kopiert werden.
|
||||
|
||||
## Bedienung
|
||||
|
||||
1. Oben **Transport** wählen: *Simulator* (kein Gerät nötig) oder
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue