49.VC(custom)-操作系统分类

本文详细列举了从Windows 2000到Windows 8.1及其对应服务器版本的操作系统版本号、主要及次要版本号,并区分工作站与服务器产品类型。

引用MSDN:http://msdn.microsoft.com/en-us/library/ms724833.aspx

Operating systemVersion numberdwMajorVersiondwMinorVersionOther
Windows 8.16.3*63OSVERSIONINFOEX.wProductType == VER_NT_WORKSTATION
Windows Server 2012 R26.3*63OSVERSIONINFOEX.wProductType != VER_NT_WORKSTATION
Windows 86.262OSVERSIONINFOEX.wProductType == VER_NT_WORKSTATION
Windows Server 20126.262OSVERSIONINFOEX.wProductType != VER_NT_WORKSTATION
Windows 76.161OSVERSIONINFOEX.wProductType == VER_NT_WORKSTATION
Windows Server 2008 R26.161OSVERSIONINFOEX.wProductType != VER_NT_WORKSTATION
Windows Server 20086.060OSVERSIONINFOEX.wProductType != VER_NT_WORKSTATION
Windows Vista6.060OSVERSIONINFOEX.wProductType == VER_NT_WORKSTATION
Windows Server 2003 R25.252GetSystemMetrics(SM_SERVERR2) != 0
Windows Home Server5.252OSVERSIONINFOEX.wSuiteMask & VER_SUITE_WH_SERVER
Windows Server 20035.252GetSystemMetrics(SM_SERVERR2) == 0
Windows XP Professional x64 Edition5.252(OSVERSIONINFOEX.wProductType == VER_NT_WORKSTATION) && (SYSTEM_INFO.wProcessorArchitecture==PROCESSOR_ARCHITECTURE_AMD64)
Windows XP5.151Not applicable
Windows 20005.050Not applicable

== Qt Visual Studio Tools version 2.10.1 (rev.2) Initialized in: 294.15 msecs Main (UI) thread: 133.14 msecs ================================================================ Qt Visual Studio Tools version 3.4.1 PREVIEW available at: https://download.qt.io/development_releases/vsaddin/3.4.1/ ================================================================ --- qmake(18960): started C:\QT\QT5.9.1\5.9.1\MSVC2017_64\bin\qmake.exe --- qmake: Querying persistent _Properties --- qmake(18960): exit code 0 (206.24 msecs) vcvars: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat cl: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\cl.exe --- qmake(19204): started C:\QT\QT5.9.1\5.9.1\MSVC2017_64\bin\qmake.exe --- qmake: Working Directory: C:\Users\xujia\AppData\Local\Temp\5smbvlty.wbi --- qmake: Arguments: QMAKE_INCDIR_QT=$(QTDIR)\include QMAKE_LIBDIR=$(QTDIR)\lib QMAKE_MOC=$(QTDIR)\bin\moc.exe QMAKE_QMAKE=$(QTDIR)\bin\qmake.exe -o "5smbvlty.wbi.vcxproj" -tp vc -Wnone "5smbvlty.wbi.pro" Info: creating stash file C:\Users\xujia\AppData\Local\Temp\5smbvlty.wbi\.qmake.stash Project ERROR: Cannot run compiler 'cl'. Maybe you forgot to setup the environment? --- qmake(19204): exit code 3 (674.82 msecs) An exception (QtVSException) occurred. Message: Error reading VS project settings Stack Trace: 在 QtVsTools.Core.VersionInformation..ctor(String qtDirIn) 在 QtVsTools.Core.VersionInformation.Get(String qtDir) 在 QtVsTools.Core.QtVersionManager.GetVersionInfo(String name) 在 QtVsTools.Wizards.ProjectWizard.ConfigPage..ctor() 在 QtVsTools.Wizards.ProjectWizard.GuiWizard.<get_WizardWindow>b__12_1() 在 QtVsTools.Common.LazyFactory.<>c__DisplayClass6_0`1.<Get>b__1() 在 System.Lazy`1.CreateValue() 在 System.Lazy`1.LazyInitValue() 在 System.Lazy`1.get_Value() 在 QtVsTools.Common.LazyFactory.Get[T](Expression`1 propertyRef, Func`1 initFunc) 在 QtVsTools.Wizards.ProjectWizard.GuiWizard.get_WizardWindow() 在 QtVsTools.Wizards.ProjectWizard.ProjectTemplateWizard.RunStarted(Object automationObject, Dictionary`2 parameterValues, WizardRunKind runKind, Object[] customParams)
最新发布
08-21
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值