From 17412400dc2887ccd52014a9c261c6ab1da44e01 Mon Sep 17 00:00:00 2001 From: Shane Kearns Date: Wed, 11 Apr 2012 15:16:09 +0100 Subject: Add OS version detection for windows 8 Based on consumer preview, the internal version is 6.2 Change-Id: I9d6ff6c7614f46a20d489e8a8f4aefeb60c547f6 Reviewed-by: Thiago Macieira --- src/corelib/global/qsysinfo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/corelib/global/qsysinfo.h') diff --git a/src/corelib/global/qsysinfo.h b/src/corelib/global/qsysinfo.h index 74c8d1de7f..2c9ce39430 100644 --- a/src/corelib/global/qsysinfo.h +++ b/src/corelib/global/qsysinfo.h @@ -96,6 +96,7 @@ public: WV_2003 = 0x0040, WV_VISTA = 0x0080, WV_WINDOWS7 = 0x0090, + WV_WINDOWS8 = 0x00a0, WV_NT_based = 0x00f0, /* version numbers */ @@ -105,6 +106,7 @@ public: WV_5_2 = WV_2003, WV_6_0 = WV_VISTA, WV_6_1 = WV_WINDOWS7, + WV_6_2 = WV_WINDOWS8, WV_CE = 0x0100, WV_CENET = 0x0200, -- cgit v1.2.3