aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@qt.io>2022-04-04 23:06:47 +0200
committerKarsten Heimrich <karsten.heimrich@qt.io>2022-04-05 11:19:03 +0000
commit90acabf3d7578420b256d1ac38aeeddc2a3cab9b (patch)
treec44f38c624cfbcd3c07fe7c7a5dccadfc0fde491
parent724ed366ec292f875e17d8e0f1e994461e099c6d (diff)
Add latest Windows SDK versions
This makes sure we can build the project even if we only have a single VS installation, e.g. VS 2022. Currently it depends on a VS 2017 (see .vsconfig) workload to be installed. Change-Id: Icdfb381e1af32315cad36b0111d982259ce801ac Reviewed-by: Miguel Costa <miguel.costa@qt.io>
-rw-r--r--QtVsTest/QtVsTest.csproj22
1 files changed, 21 insertions, 1 deletions
diff --git a/QtVsTest/QtVsTest.csproj b/QtVsTest/QtVsTest.csproj
index e8b2cfe7..2abaf7a5 100644
--- a/QtVsTest/QtVsTest.csproj
+++ b/QtVsTest/QtVsTest.csproj
@@ -2,7 +2,7 @@
<!--
/****************************************************************************
**
-** Copyright (C) 2021 The Qt Company Ltd.
+** Copyright (C) 2022 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt VS Tools.
@@ -193,6 +193,26 @@
</Content>
</ItemGroup>
<Choose>
+ <When Condition="Exists('$(MSBuildProgramFiles32)\Windows Kits\10\bin\10.0.22000.0')">
+ <PropertyGroup>
+ <Win10SDKPath>$(MSBuildProgramFiles32)\Windows Kits\10\bin\10.0.22000.0</Win10SDKPath>
+ </PropertyGroup>
+ </When>
+ <When Condition="Exists('$(MSBuildProgramFiles32)\Windows Kits\10\bin\10.0.20348.0')">
+ <PropertyGroup>
+ <Win10SDKPath>$(MSBuildProgramFiles32)\Windows Kits\10\bin\10.0.20348.0</Win10SDKPath>
+ </PropertyGroup>
+ </When>
+ <When Condition="Exists('$(MSBuildProgramFiles32)\Windows Kits\10\bin\10.0.19041.0')">
+ <PropertyGroup>
+ <Win10SDKPath>$(MSBuildProgramFiles32)\Windows Kits\10\bin\10.0.19041.0</Win10SDKPath>
+ </PropertyGroup>
+ </When>
+ <When Condition="Exists('$(MSBuildProgramFiles32)\Windows Kits\10\bin\10.0.18362.0')">
+ <PropertyGroup>
+ <Win10SDKPath>$(MSBuildProgramFiles32)\Windows Kits\10\bin\10.0.18362.0</Win10SDKPath>
+ </PropertyGroup>
+ </When>
<When Condition="Exists('$(MSBuildProgramFiles32)\Windows Kits\10\bin\10.0.17763.0')">
<PropertyGroup>
<Win10SDKPath>$(MSBuildProgramFiles32)\Windows Kits\10\bin\10.0.17763.0</Win10SDKPath>