summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorYuhang Zhao <2546789017@qq.com>2021-10-17 11:19:48 +0800
committerYuhang Zhao <2546789017@qq.com>2021-11-11 08:33:05 +0000
commit7c713c4d2c176dbc4fa7eb0a670aa86e49f36716 (patch)
tree922210d5c27e246c0a4d27e265293435c6fd563b /mkspecs
parent18f20ce7288012838be9a3d7511dd06630d62487 (diff)
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. Change-Id: Ifbc28c8f8b073866871685c020301f5f20dc9591 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 6652bf2353d807f724f398a15cb22c188830f57c)
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/qt_module.prf5
1 files changed, 5 insertions, 0 deletions
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