From 6652bf2353d807f724f398a15cb22c188830f57c Mon Sep 17 00:00:00 2001 From: Yuhang Zhao <2546789017@qq.com> Date: Sun, 17 Oct 2021 11:19:48 +0800 Subject: Bump WINVER, _WIN32_WINNT and _WIN32_IE to _WIN32_WINNT_WIN10 (0x0A00) And bump NTDDI_VERSION to 0x0A00000B (NTDDI_WIN10_CO) at the same time, to unblock the developers from accessing the latest Windows APIs. Pick-to: 6.2 Change-Id: Ifbc28c8f8b073866871685c020301f5f20dc9591 Reviewed-by: Qt CI Bot Reviewed-by: Joerg Bornemann Reviewed-by: Thiago Macieira --- mkspecs/features/qt_module.prf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mkspecs/features/qt_module.prf') diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf index 62d225b14d..8bc1175ebb 100644 --- a/mkspecs/features/qt_module.prf +++ b/mkspecs/features/qt_module.prf @@ -345,4 +345,9 @@ msvc { QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO += /GUARD:CF } +win32 { + DEFINES *= _WIN32_WINNT=0x0A00 + DEFINES *= WINVER=0x0A00 +} + TARGET = $$qt5LibraryTarget($$TARGET$$QT_LIBINFIX) # Do this towards the end -- cgit v1.2.3