cmake: Use Qt 6.7.3 for MSVC builds

Forces Qt 6.7.3 for MSVC builds while keeping 6.8.2 for other platforms.
This fixes Windows compilation issues with newer Qt versions.
This commit is contained in:
Zephyron 2025-02-09 18:57:35 +10:00
parent 8bf4660bac
commit 13ada2d705
No known key found for this signature in database

View file

@ -422,7 +422,11 @@ endif()
if (ENABLE_QT)
if (NOT USE_SYSTEM_QT)
download_qt(6.8.2)
if ((MSVC_VERSION GREATER_EQUAL 1920) AND ARCHITECTURE_x86_64)
download_qt(6.7.3)
else()
download_qt(6.8.2)
endif()
endif()
find_package(Qt6 REQUIRED COMPONENTS Widgets Multimedia Concurrent Network)