mirror of https://github.com/qt/qt5.git
Provisioning: Install debug version of vclibs for UWP usage
RTA relies on the availability of debug vclibs. The frameworks are usually installed on first usage by Visual Studio, but as we use winrtrunner, we have to install the packages manually. Task-number: QTBUG-69809 Change-Id: I66cc4b04062afe634345cddc8ab4d001778274cc Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
This commit is contained in:
parent
c00f007d32
commit
f8086955b3
|
@ -0,0 +1,16 @@
|
|||
function Install-VCLibsDebug
|
||||
{
|
||||
Param (
|
||||
[string]$Arch
|
||||
)
|
||||
|
||||
$installedPackage = Get-AppxPackage Microsoft.VCLibs.140.00.Debug | Where-Object {$_.Architecture -eq $Arch}
|
||||
if ($installedPackage) {
|
||||
Write-Host "Debug VCLibs already installed for $Arch."
|
||||
return
|
||||
}
|
||||
|
||||
Add-AppxPackage "C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\Appx\Debug\$Arch\Microsoft.VCLibs.$Arch.Debug.14.00.appx"
|
||||
|
||||
Write-Host "Debug VCLibs successfully installed for $Arch."
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
. "$PSScriptRoot\..\common\windows\vclibs_debug.ps1"
|
||||
|
||||
Install-VCLibsDebug X86
|
|
@ -0,0 +1,3 @@
|
|||
. "$PSScriptRoot\..\common\windows\vclibs_debug.ps1"
|
||||
|
||||
Install-VCLibsDebug X64
|
Loading…
Reference in New Issue