Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.14.1
-
None
-
-
f036b8ba32 (qt/tqtc-qtbase/5.15)
Description
This is my first summit.
Trying to build UWP app, in a freshly installed Qt on Windows 10 1903 18362.657 MSVC2019 x64 and x86 compilers with and after having to add mkspec: winrt-x86-msvc2017 or winrt-x86-msvc2017.
it returns:
qt.winrtrunner: Using the Appx profile. qt.winrtrunner: Unable to register package: "Windows cannot install package 18f738d9-f3bf-498b-8dfc-a1531a026082_1.0.0.0_x86__zkv3g9dgz67pe because this package depends on a framework that could not be found. Provide the framework \"Microsoft.VCLibs.160.00.Debug\" published by \"CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US\", with neutral or x86 processor architecture and minimum version 14.0.0.0, along with this package to install. The frameworks with name \"Microsoft.VCLibs.160.00.Debug\" currently installed are: {}"
I have look for a Microsoft.VCLibs.160.00 but there is only to v14 and installing Download C++ Runtime
https://support.microsoft.com/en-in/help/3176696/c-runtime-framework-packages-for-desktop-bridge
Editing the generated AppxManifest.xml to 140 I can get it installed with QtCreator, winrtrunner or Add-AppxPackage
<Dependencies> <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.18362.0" MaxVersionTested="10.0.18362.0" /> <PackageDependency Name="Microsoft.VCLibs.160.00.Debug" MinVersion="14.0.0.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" /> </Dependencies>
Thanks