Deps: Update Qt to 6.12.1

Co-authored-by: SternXD <stern@sidestore.io>
This commit is contained in:
JordanTheToasterandSternXD authored and GovanifY committed 2026-11-28 12:20:08 +01:00
1 parent 739764030e
commit e486160b77
6 files changed
+208 -37

No files matched your search

@@ -18,7 +18,7 @@ if [ "${INSTALLDIR:0:1}" != "/" ]; then
INSTALLDIR="$PWD/$INSTALLDIR"
fi
QT=6.12.0
QT=6.12.1
QTAPNG=1.3.0
FFMPEG=9.0.1
@@ -48,12 +48,12 @@ cd deps-build
export PKG_CONFIG_PATH="$INSTALLDIR/lib/pkgconfig:$PKG_CONFIG_PATH"
grep . > SHASUMS <<EOF
a951bd163c7b80fc6b8c88d7668fb56abf91c152373e13c10666763238131307 qtbase-everywhere-src-$QT.tar.xz
0943132b5db8de6b6a7f1d162682173e8763c7ed94e80fd39113292845f67762 qtimageformats-everywhere-src-$QT.tar.xz
e4ab39534ec97987b1b9b60ef7f4d3253d5912a69f8c713a01753174a4029331 qtsvg-everywhere-src-$QT.tar.xz
8dab8f3611496486a470ad5f115ceea584f36bc22a2b8b6f6ebdbafbb8160693 qttools-everywhere-src-$QT.tar.xz
85929c0c30d6f273f23bd879bb69803ea17b010ab73cab2f8abf95357f6f6bbb qttranslations-everywhere-src-$QT.tar.xz
ae14d9bcf1bb3c300a3ab2e6a53f50284e5c6c966a4ac4cc5aedcb1bc74e4d02 qtwayland-everywhere-src-$QT.tar.xz
cd837bb9fd631e20439a04eaa0c2f252f19ad92fdf5adf10229d0fbc2fab2d53 qtbase-everywhere-src-$QT.tar.xz
20a40732228cf0734c5b2335d4a816c1cab97dcdcc6d13073c0b1065e1c6c608 qtimageformats-everywhere-src-$QT.tar.xz
6a7157a9a0556a129ae6582c7fbe57a0d6c0b83083cfcbd38d5d4a93b30c46e1 qtsvg-everywhere-src-$QT.tar.xz
0d3d1a7eba32d1477f36211fb527c2c75f60cb10f3ddc41fdb804fd94147b640 qttools-everywhere-src-$QT.tar.xz
5d537a0b849df9a0586fb20435ce232bc3e21e95025134f6ea8f5cc19622158a qttranslations-everywhere-src-$QT.tar.xz
226cafcfd3b8c009f178d157d0772f902f6ee693ee39d219aba50eef0473c143 qtwayland-everywhere-src-$QT.tar.xz
f1d3be3489f758efe1a8f12118a212febbe611aa670af32e0159fa3c1feab2a6 QtApng-$QTAPNG.tar.gz
cf38e0e28c7e5605942c4a77755349b0145804a397af37eb1fb4c77cb237f635 ffmpeg-$FFMPEG.tar.xz
@@ -43,7 +43,7 @@ if [ "${INSTALLDIR:0:1}" != "/" ]; then
INSTALLDIR="$PWD/$INSTALLDIR"
fi
QT=6.11.2
QT=6.12.1
QTAPNG=1.3.0
FREETYPE=2.14.3
@@ -86,11 +86,11 @@ CMAKE_ARCH_ARM64=-DCMAKE_OSX_ARCHITECTURES="arm64"
CMAKE_ARCH_UNIVERSAL=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"
grep . > SHASUMS <<EOF
5b2e00eccaf5a4d8c14134ffa0ea8dfd0a35ae1ffc7f8d87fa4305a1ed23cf22 qtbase-everywhere-src-$QT.tar.xz
cecd8900f34b6550076309bc94f62f828008b633a4239e0a08c86788f41001f8 qtimageformats-everywhere-src-$QT.tar.xz
d594337feca84c26fb67fe87b85e6a5c12fda404b611d905f9d138210c311876 qtsvg-everywhere-src-$QT.tar.xz
9ea75af35c512f7e09e61c8c3af3997f13b4d43bb099cf43fcec470126b4041e qttools-everywhere-src-$QT.tar.xz
021684c1a7937a9fabc3b056a6698ad5978794caf9ac190fd6cc11399e67c014 qttranslations-everywhere-src-$QT.tar.xz
cd837bb9fd631e20439a04eaa0c2f252f19ad92fdf5adf10229d0fbc2fab2d53 qtbase-everywhere-src-$QT.tar.xz
20a40732228cf0734c5b2335d4a816c1cab97dcdcc6d13073c0b1065e1c6c608 qtimageformats-everywhere-src-$QT.tar.xz
6a7157a9a0556a129ae6582c7fbe57a0d6c0b83083cfcbd38d5d4a93b30c46e1 qtsvg-everywhere-src-$QT.tar.xz
0d3d1a7eba32d1477f36211fb527c2c75f60cb10f3ddc41fdb804fd94147b640 qttools-everywhere-src-$QT.tar.xz
5d537a0b849df9a0586fb20435ce232bc3e21e95025134f6ea8f5cc19622158a qttranslations-everywhere-src-$QT.tar.xz
f1d3be3489f758efe1a8f12118a212febbe611aa670af32e0159fa3c1feab2a6 QtApng-$QTAPNG.tar.gz
36bc4f1cc413335368ee656c42afca65c5a3987e8768cc28cf11ba775e785a5f freetype-$FREETYPE.tar.xz
@@ -20,7 +20,7 @@ if [ "${INSTALLDIR:0:1}" != "/" ]; then
INSTALLDIR="$PWD/$INSTALLDIR"
fi
QT=6.11.2
QT=6.12.1
QTAPNG=1.3.0
FREETYPE=2.14.3
@@ -62,11 +62,11 @@ CMAKE_COMMON=(
)
grep . > SHASUMS <<EOF
5b2e00eccaf5a4d8c14134ffa0ea8dfd0a35ae1ffc7f8d87fa4305a1ed23cf22 qtbase-everywhere-src-$QT.tar.xz
cecd8900f34b6550076309bc94f62f828008b633a4239e0a08c86788f41001f8 qtimageformats-everywhere-src-$QT.tar.xz
d594337feca84c26fb67fe87b85e6a5c12fda404b611d905f9d138210c311876 qtsvg-everywhere-src-$QT.tar.xz
9ea75af35c512f7e09e61c8c3af3997f13b4d43bb099cf43fcec470126b4041e qttools-everywhere-src-$QT.tar.xz
021684c1a7937a9fabc3b056a6698ad5978794caf9ac190fd6cc11399e67c014 qttranslations-everywhere-src-$QT.tar.xz
cd837bb9fd631e20439a04eaa0c2f252f19ad92fdf5adf10229d0fbc2fab2d53 qtbase-everywhere-src-$QT.tar.xz
20a40732228cf0734c5b2335d4a816c1cab97dcdcc6d13073c0b1065e1c6c608 qtimageformats-everywhere-src-$QT.tar.xz
6a7157a9a0556a129ae6582c7fbe57a0d6c0b83083cfcbd38d5d4a93b30c46e1 qtsvg-everywhere-src-$QT.tar.xz
0d3d1a7eba32d1477f36211fb527c2c75f60cb10f3ddc41fdb804fd94147b640 qttools-everywhere-src-$QT.tar.xz
5d537a0b849df9a0586fb20435ce232bc3e21e95025134f6ea8f5cc19622158a qttranslations-everywhere-src-$QT.tar.xz
f1d3be3489f758efe1a8f12118a212febbe611aa670af32e0159fa3c1feab2a6 QtApng-$QTAPNG.tar.gz
36bc4f1cc413335368ee656c42afca65c5a3987e8768cc28cf11ba775e785a5f freetype-$FREETYPE.tar.xz
@@ -1,15 +1,15 @@
diff --git a/.cmake.conf b/.cmake.conf
--- a/.cmake.conf
+++ b/.cmake.conf
@@ -51,7 +51,7 @@ set(QT_MAX_NEW_POLICY_CMAKE_VERSION_QT_APPLE "3.21")
set(QT_SUPPORTED_MIN_MACOS_SDK_VERSION "14")
set(QT_SUPPORTED_MAX_MACOS_SDK_VERSION "26")
set(QT_SUPPORTED_MIN_MACOS_XCODE_VERSION "15")
-set(QT_SUPPORTED_MIN_MACOS_VERSION "13")
@@ -55,7 +55,7 @@
set(QT_SUPPORTED_MIN_MACOS_SDK_VERSION "15")
set(QT_SUPPORTED_MAX_MACOS_SDK_VERSION "27")
set(QT_SUPPORTED_MIN_MACOS_XCODE_VERSION "16")
-set(QT_SUPPORTED_MIN_MACOS_VERSION "14.4")
+set(QT_SUPPORTED_MIN_MACOS_VERSION "11")
set(QT_SUPPORTED_MAX_MACOS_VERSION_TESTED "26")
set(QT_SUPPORTED_MIN_IOS_SDK_VERSION "17")
set(QT_SUPPORTED_MIN_IOS_SDK_VERSION "18")
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -48,6 +48,110 @@ diff --git a/src/corelib/kernel/qcore_mac.mm b/src/corelib/kernel/qcore_mac.mm
if (!nvram) {
qWarning("Failed to locate NVRAM entry in IO registry");
return {};
diff --git a/src/corelib/platform/darwin/qdarwinpermissionplugin_calendar.mm b/src/corelib/platform/darwin/qdarwinpermissionplugin_calendar.mm
--- a/src/corelib/platform/darwin/qdarwinpermissionplugin_calendar.mm
+++ b/src/corelib/platform/darwin/qdarwinpermissionplugin_calendar.mm
@@ -57,10 +57,14 @@
callback([self checkPermission:permission]);
};
+ if (@available(macOS 14, *)) {
if (accessMode == QCalendarPermission::WriteOnly)
[self.eventStore requestWriteOnlyAccessToEventsWithCompletion:completionHandler];
else
[self.eventStore requestFullAccessToEventsWithCompletion:completionHandler];
+ } else {
+ [self.eventStore requestAccessToEntityType:EKEntityTypeEvent completion:completionHandler];
+ }
}
@end
diff --git a/src/corelib/thread/qfutex_mac_p.h b/src/corelib/thread/qfutex_mac_p.h
--- a/src/corelib/thread/qfutex_mac_p.h
+++ b/src/corelib/thread/qfutex_mac_p.h
@@ -22,6 +22,16 @@
#include <os/os_sync_wait_on_address.h>
+extern "C" {
+extern int __ulock_wait2(uint32_t operation, void *addr, uint64_t value,
+ uint64_t timeout, uint64_t value2);
+extern int __ulock_wake(uint32_t operation, void *addr, uint64_t wake_value);
+}
+#define UL_COMPARE_AND_WAIT 1
+#define UL_COMPARE_AND_WAIT64 5
+#define ULF_WAKE_ALL 0x00000100
+#define ULF_NO_ERRNO 0x01000000
+
#define QT_ALWAYS_USE_FUTEX
QT_BEGIN_NAMESPACE
@@ -31,12 +41,22 @@
constexpr bool futexAvailable() { return true; }
template <typename Atomic>
+inline uint32_t ulockOperation(Atomic &)
+{
+ return ULF_NO_ERRNO | (sizeof(typename Atomic::Type) == 4 ? UL_COMPARE_AND_WAIT : UL_COMPARE_AND_WAIT64);
+}
+
+template <typename Atomic>
inline void futexWait(Atomic &futex, typename Atomic::Type expectedValue)
{
QtTsan::futexRelease(&futex);
static_assert(sizeof(typename Atomic::Type) == 4 || sizeof(typename Atomic::Type) == 8);
+ if (__builtin_available(macOS 14.4, *)) {
os_sync_wait_on_address(&futex, quint64(expectedValue), sizeof(typename Atomic::Type),
OS_SYNC_WAIT_ON_ADDRESS_NONE);
+ } else {
+ __ulock_wait2(ulockOperation(futex), &futex, uint64_t(expectedValue), 0, 0);
+ }
QtTsan::futexAcquire(&futex);
}
@@ -45,27 +65,42 @@
{
QtTsan::futexRelease(&futex);
static_assert(sizeof(typename Atomic::Type) == 4 || sizeof(typename Atomic::Type) == 8);
+ if (__builtin_available(macOS 14.4, *)) {
int r = os_sync_wait_on_address_with_timeout(
&futex, quint64(expectedValue), sizeof(typename Atomic::Type),
OS_SYNC_WAIT_ON_ADDRESS_NONE, OS_CLOCK_MACH_ABSOLUTE_TIME, timer.remainingTimeNSecs());
QtTsan::futexAcquire(&futex);
return r >= 0 || errno != ETIMEDOUT;
+ } else {
+ int r = __ulock_wait2(ulockOperation(futex), &futex, uint64_t(expectedValue),
+ timer.remainingTimeNSecs(), 0);
+ QtTsan::futexAcquire(&futex);
+ return r == 0 || r != -ETIMEDOUT;
+ }
}
template <typename Atomic>
inline void futexWakeAll(Atomic &futex)
{
static_assert(sizeof(typename Atomic::Type) == 4 || sizeof(typename Atomic::Type) == 8);
+ if (__builtin_available(macOS 14.4, *)) {
os_sync_wake_by_address_all(&futex, sizeof(typename Atomic::Type),
OS_SYNC_WAKE_BY_ADDRESS_NONE);
+ } else {
+ __ulock_wake(ulockOperation(futex) | ULF_WAKE_ALL, &futex, 0);
+ }
}
template <typename Atomic>
inline void futexWakeOne(Atomic &futex)
{
static_assert(sizeof(typename Atomic::Type) == 4 || sizeof(typename Atomic::Type) == 8);
+ if (__builtin_available(macOS 14.4, *)) {
os_sync_wake_by_address_any(&futex, sizeof(typename Atomic::Type),
OS_SYNC_WAKE_BY_ADDRESS_NONE);
+ } else {
+ __ulock_wake(ulockOperation(futex), &futex, 0);
+ }
}
} //namespace QtDarwinFutex
diff --git a/src/gui/platform/darwin/qappleiconengine.mm b/src/gui/platform/darwin/qappleiconengine.mm
--- a/src/gui/platform/darwin/qappleiconengine.mm
+++ b/src/gui/platform/darwin/qappleiconengine.mm
@@ -91,6 +195,73 @@ diff --git a/src/gui/platform/darwin/qappleiconengine.mm b/src/gui/platform/darw
}
#elif defined(QT_PLATFORM_UIKIT)
auto *configuredImage(const UIImage *image, const QColor &color)
diff --git a/src/gui/rhi/qrhimetal.mm b/src/gui/rhi/qrhimetal.mm
--- a/src/gui/rhi/qrhimetal.mm
+++ b/src/gui/rhi/qrhimetal.mm
@@ -675,6 +675,7 @@
caps.supportedSampleCounts.append(sampleCount);
}
+ if (@available(macOS 13, *))
caps.indirectCommandBuffers = ([d->dev supportsFamily:MTLGPUFamilyApple5]
|| [d->dev supportsFamily:MTLGPUFamilyMac2])
&& [d->dev supportsFamily:MTLGPUFamilyMetal3];
@@ -5351,7 +5352,11 @@
QString *error, QByteArray *entryPoint, QShaderKey *activeKey)
{
QVarLengthArray<int, 8> versions;
- versions << 30 << 24 << 23 << 22 << 21 << 20 << 12;
+ if (@available(macOS 13, iOS 16, *))
+ versions << 30;
+ if (@available(macOS 12, iOS 15, *))
+ versions << 24;
+ versions << 23 << 22 << 21 << 20 << 12;
const QList<QShaderKey> shaders = shader.availableShaders();
diff --git a/src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm b/src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm
--- a/src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm
+++ b/src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm
@@ -420,8 +420,10 @@
- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)application
{
+ if (@available(macOS 12, *)) {
if ([reflectionDelegate respondsToSelector:_cmd])
return [reflectionDelegate applicationSupportsSecureRestorableState:application];
+ }
// We don't support or implement state restorations via the AppKit
// state restoration APIs, but if we did, we would/should support
diff --git a/src/plugins/platforms/cocoa/qcocoascreen.mm b/src/plugins/platforms/cocoa/qcocoascreen.mm
--- a/src/plugins/platforms/cocoa/qcocoascreen.mm
+++ b/src/plugins/platforms/cocoa/qcocoascreen.mm
@@ -623,6 +623,7 @@
}
auto grabFromDisplay = [](CGDirectDisplayID displayId, const QRect &grabRect) -> QPixmap {
+ if (@available(macOS 14.4, *)) {
QMacAutoReleasePool pool;
const qreal scale = QCocoaScreen::nativeScreenForDisplayId(displayId).backingScaleFactor;
@@ -713,6 +714,17 @@
QPixmap pixmap = QPixmap::fromImage(image);
pixmap.setDevicePixelRatio(scale);
return pixmap;
+ } else {
+ QCFType<CGImageRef> image = CGDisplayCreateImageForRect(displayId, grabRect.toCGRect());
+ const QCFType<CGColorSpaceRef> sRGBcolorSpace = CGColorSpaceCreateWithName(kCGColorSpaceSRGB);
+ if (CGImageGetColorSpace(image) != sRGBcolorSpace) {
+ qCDebug(lcQpaScreen) << "applying color correction for display" << displayId;
+ image = CGImageCreateCopyWithColorSpace(image, sRGBcolorSpace);
+ }
+ QPixmap pixmap = QPixmap::fromImage(qt_mac_toQImage(image));
+ pixmap.setDevicePixelRatio(nativeScreenForDisplayId(displayId).backingScaleFactor);
+ return pixmap;
+ }
};
QRect grabRect = QRect(x, y, width, height);
diff --git a/src/plugins/platforms/cocoa/qcocoawindow.mm b/src/plugins/platforms/cocoa/qcocoawindow.mm
--- a/src/plugins/platforms/cocoa/qcocoawindow.mm
+++ b/src/plugins/platforms/cocoa/qcocoawindow.mm
@@ -57,7 +57,7 @@ echo INSTALLDIR=%INSTALLDIR%
cd "%BUILDDIR%"
set QT=6.12.0
set QT=6.12.1
set QTMINOR=6.12
set QTAPNG=1.3.0
@@ -96,11 +96,11 @@ set AGILITYSDK=1.620.2
set DXHEADERS=1.620.2
set DXC=1.9.2609.5
call :downloadfile "qtbase-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qtbase-everywhere-src-%QT%.zip" 0529901575c413e34ded504eeda177c4a6dfd0dff1e39ed52c811dc5204b43c7 || goto error
call :downloadfile "qtimageformats-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qtimageformats-everywhere-src-%QT%.zip" 664de2ba60a1e74105da844c061688ff5e6f8f046d5dd98e2d6b6ad3c553b4ca || goto error
call :downloadfile "qtsvg-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qtsvg-everywhere-src-%QT%.zip" a633ce8978543a7c72c1381d3a52bb424e8ba629882dfb39dfd29508cb4f125d || goto error
call :downloadfile "qttools-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qttools-everywhere-src-%QT%.zip" 42e4aee011c429c1e6a51cb40f398b5126c8185ab4f493f9e0ce3c4cbce6f4b7 || goto error
call :downloadfile "qttranslations-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qttranslations-everywhere-src-%QT%.zip" 286f0ca3ad669bc2d6fec0e209a797a08049d037c7a167e60eb3b4a640405aa5 || goto error
call :downloadfile "qtbase-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qtbase-everywhere-src-%QT%.zip" b6e3d1eeff882e75cd81b95bf73af33a1209e4f829bc3e3d4b15d938e39bf2af || goto error
call :downloadfile "qtimageformats-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qtimageformats-everywhere-src-%QT%.zip" 8f61ad3ba4e4f849d98ed76033db67078b49fcbe8ac10af0e81c9357777c698a || goto error
call :downloadfile "qtsvg-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qtsvg-everywhere-src-%QT%.zip" 384c9d4c237929be99baec19480cdf4f92554b0d489180659a1886d4ec1c1d83 || goto error
call :downloadfile "qttools-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qttools-everywhere-src-%QT%.zip" c6b088ce34da067ed26720c488bff3f9aa8083891663e92a4029c03eeac631f3 || goto error
call :downloadfile "qttranslations-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qttranslations-everywhere-src-%QT%.zip" de90ad5524c10a05690d43824e325f8dcd5aedcec84196d68ee4a4912f95e5f3 || goto error
call :downloadfile "QtApng-%QTAPNG%.zip" "https://github.com/jurplel/QtApng/archive/refs/tags/%QTAPNG%.zip" 5176082cdd468047a7eb1ec1f106b032f57df207aa318d559b29606b00d159ac || goto error
call :downloadfile "ffmpeg-%FFMPEG%.tar.xz" "https://ffmpeg.org/releases/ffmpeg-%FFMPEG%.tar.xz" cf38e0e28c7e5605942c4a77755349b0145804a397af37eb1fb4c77cb237f635 || goto error
@@ -55,7 +55,7 @@ set "PATH=%PATH%;%INSTALLDIR%\bin"
cd "%BUILDDIR%"
set QT=6.12.0
set QT=6.12.1
set QTMINOR=6.12
set QTAPNG=1.3.0
@@ -96,11 +96,11 @@ set AGILITYSDK=1.620.2
set DXHEADERS=1.620.2
set DXC=1.9.2609.5
call :downloadfile "qtbase-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qtbase-everywhere-src-%QT%.zip" 0529901575c413e34ded504eeda177c4a6dfd0dff1e39ed52c811dc5204b43c7 || goto error
call :downloadfile "qtimageformats-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qtimageformats-everywhere-src-%QT%.zip" 664de2ba60a1e74105da844c061688ff5e6f8f046d5dd98e2d6b6ad3c553b4ca || goto error
call :downloadfile "qtsvg-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qtsvg-everywhere-src-%QT%.zip" a633ce8978543a7c72c1381d3a52bb424e8ba629882dfb39dfd29508cb4f125d || goto error
call :downloadfile "qttools-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qttools-everywhere-src-%QT%.zip" 42e4aee011c429c1e6a51cb40f398b5126c8185ab4f493f9e0ce3c4cbce6f4b7 || goto error
call :downloadfile "qttranslations-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qttranslations-everywhere-src-%QT%.zip" 286f0ca3ad669bc2d6fec0e209a797a08049d037c7a167e60eb3b4a640405aa5 || goto error
call :downloadfile "qtbase-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qtbase-everywhere-src-%QT%.zip" b6e3d1eeff882e75cd81b95bf73af33a1209e4f829bc3e3d4b15d938e39bf2af || goto error
call :downloadfile "qtimageformats-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qtimageformats-everywhere-src-%QT%.zip" 8f61ad3ba4e4f849d98ed76033db67078b49fcbe8ac10af0e81c9357777c698a || goto error
call :downloadfile "qtsvg-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qtsvg-everywhere-src-%QT%.zip" 384c9d4c237929be99baec19480cdf4f92554b0d489180659a1886d4ec1c1d83 || goto error
call :downloadfile "qttools-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qttools-everywhere-src-%QT%.zip" c6b088ce34da067ed26720c488bff3f9aa8083891663e92a4029c03eeac631f3 || goto error
call :downloadfile "qttranslations-everywhere-src-%QT%.zip" "https://download.qt.io/official_releases/qt/%QTMINOR%/%QT%/submodules/qttranslations-everywhere-src-%QT%.zip" de90ad5524c10a05690d43824e325f8dcd5aedcec84196d68ee4a4912f95e5f3 || goto error
call :downloadfile "QtApng-%QTAPNG%.zip" "https://github.com/jurplel/QtApng/archive/refs/tags/%QTAPNG%.zip" 5176082cdd468047a7eb1ec1f106b032f57df207aa318d559b29606b00d159ac || goto error
call :downloadfile "ffmpeg-%FFMPEG%.tar.xz" "https://ffmpeg.org/releases/ffmpeg-%FFMPEG%.tar.xz" cf38e0e28c7e5605942c4a77755349b0145804a397af37eb1fb4c77cb237f635 || goto error