- windows-i386
- windows-amd64
- macos-amd64
- macos-arm64
- linux-i386
- linux-amd64
- linux-arm64
$TARGET = "windows-i386"
docker build -t qt-$TARGET -f Dockerfile.$TARGET .
docker run -it -d --name qt-$TARGET qt-$TARGET /bin/bash
docker cp qt-${TARGET}:/usr/local/Qt-5.15 Qt-5.15-$TARGET
docker exec -it qt-$TARGET /bin/bash
cd /opt/qt-experiments/
qmake qt-experiments.pro
make -j $(nproc)
exit
-
Unix build
docker cp qt-${TARGET}:/opt/qt-experiments/qt-experiments qt-experiments-$TARGET
-
Windows build
docker cp qt-${TARGET}:/opt/qt-experiments/release/qt-experiments.exe qt-experiments-${TARGET}.exe
-
MacOS build
docker cp qt-${TARGET}:/opt/qt-experiments/qt-experiments.app qt-experiments-${TARGET}.app