Portierung der Python/Tkinter-Vorlage nach C++17/Qt6
Die fuer Debian 13 geschriebene Fassung (Python + Tkinter + matplotlib)
laeuft jetzt als Windows-Anwendung mit Qt 6. Oberflaeche, Bedienlogik und
alle DSP-Verfahren sind unveraendert uebernommen.
- core/ DSP, Audio-IO und Export ohne GUI-Abhaengigkeit
- ui/ Hauptfenster, eigene Wellenform-Anzeige, Uebersichtsleiste,
ffplay-Wiedergabe, Hintergrund-Worker
- tools/ Selbsttest gegen die Python-Vorlage, Ende-zu-Ende-Test der
ffmpeg-Kette, Messwerkzeuge fuer den Geschwindigkeitsvergleich
- chopper/ unveraenderte Vorlage als Referenz fuer die Pruefungen
Verifikation: verify.ps1 vergleicht den Auslieferungsbau gegen die Vorlage
(alle diskreten Ergebnisse identisch) und zusaetzlich einen double-Bau
gegen eine float64-Referenz (260 Werte innerhalb von 1e-9).
Die 14 Commits der Python-Vorlage liegen als chopper-history.bundle bei
(chopper/ war unter Debian ein eigenes Repository).
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# Installiert Qt 6.8.3 fuer MinGW 13.1 samt passendem Compiler.
|
||||
#
|
||||
# Grund: Auf diesem Rechner ist Visual Studio 2022 zwar installiert, aber ohne
|
||||
# die C++-Workload (kein VC\Tools\MSVC, kein vcvars64.bat). Das MinGW-Paket von
|
||||
# Qt ist in sich stimmig und braucht keine Administratorrechte.
|
||||
$ErrorActionPreference = 'Continue'
|
||||
$ProgressPreference = 'SilentlyContinue'
|
||||
|
||||
$log = 'C:\Users\Key & Co\Desktop\Programme\Samplechopper\_setup\qt_mingw_setup.log'
|
||||
Set-Content -Path $log -Value "=== Qt/MinGW setup $(Get-Date -Format s) ==="
|
||||
function L([string]$m) { $m | Tee-Object -FilePath $log -Append }
|
||||
|
||||
L "--- verfuegbare Varianten von tools_mingw1310 ---"
|
||||
& python -m aqt list-tool windows desktop tools_mingw1310 2>&1 | Tee-Object -FilePath $log -Append
|
||||
|
||||
L "--- MinGW 13.1 installieren ---"
|
||||
& python -m aqt install-tool windows desktop tools_mingw1310 qt.tools.win64_mingw1310 `
|
||||
--outputdir C:\Qt 2>&1 | Tee-Object -FilePath $log -Append
|
||||
L "exit: $LASTEXITCODE"
|
||||
|
||||
L "--- Qt 6.8.3 win64_mingw installieren ---"
|
||||
& python -m aqt install-qt windows desktop 6.8.3 win64_mingw `
|
||||
--outputdir C:\Qt --archives qtbase qttools 2>&1 | Tee-Object -FilePath $log -Append
|
||||
L "exit: $LASTEXITCODE"
|
||||
|
||||
L "--- Ergebnis ---"
|
||||
Get-ChildItem C:\Qt -Directory | Select-Object -ExpandProperty FullName | Tee-Object -FilePath $log -Append
|
||||
Get-ChildItem 'C:\Qt\6.8.3\mingw_64\bin\Qt6Widgets.dll' -ErrorAction SilentlyContinue |
|
||||
ForEach-Object { L ("Widgets: " + $_.FullName) }
|
||||
Get-ChildItem 'C:\Qt\Tools' -Directory -ErrorAction SilentlyContinue |
|
||||
Select-Object -ExpandProperty FullName | Tee-Object -FilePath $log -Append
|
||||
L "=== done $(Get-Date -Format s) ==="
|
||||
Reference in New Issue
Block a user