Add multiple Qt/iOS version support and hooks

This commit is contained in:
√(noham)²
2026-05-15 21:51:00 +02:00
parent 6aa11a2345
commit ed6fbd9e38
3 changed files with 35 additions and 5 deletions

View File

@@ -3,16 +3,28 @@
# Default to 3.25.0 if no argument is provided
VERSION=${1:-3.25.0}
if [ "$VERSION" == "3.25.0" ]; then
if [ "$VERSION" == "3.17.0" ]; then
MACRO="-DV3_17_0=1"
QT_VERSION="6.5.3"
TARGET="iphone:latest:14.0"
elif [ "$VERSION" == "3.25.0" ]; then
MACRO="-DV3_25_0=1"
QT_VERSION="6.8.2"
TARGET="iphone:latest:16.0"
elif [ "$VERSION" == "3.26.0" ]; then
MACRO="-DV3_26_0=1"
QT_VERSION="6.8.2"
TARGET="iphone:latest:17.0"
elif [ "$VERSION" == "3.27.0" ]; then
MACRO="-DV3_27_0=1"
QT_VERSION="6.10.0"
TARGET="iphone:latest:17.0"
elif [ "$VERSION" == "3.27.1" ]; then
MACRO="-DV3_27_1=1"
QT_VERSION="6.10.0"
TARGET="iphone:latest:17.0"
else
echo "Error: Unknown version '$VERSION'. Supported versions are: 3.25.0, 3.27.1"
echo "Error: Unknown version '$VERSION'. Supported versions are: 3.25.0, 3.17.0, 3.27.1"
exit 1
fi