Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9.0
-
Windows 10 10.0.10586.962
Visual Studio 2015
Windows SDK 10.0.14393.0 installed in Visual Studio, but not in Windows
-
b307d12957422f9b8118dead4cc1dfe72bbdbf29 b936ce085f74fa7c563fb942290c5e8ad9517e42
Description
This issue occurs on Windows 10 installations where Windows itself is not yet updated to the latest SDK while Visual Studio has a newer version installed and targets this by default.
When building a UWP project in Qt Creator, the following error message is shown to the user:
qt.winrtrunner: Using the Appx profile. qt.winrtrunner: Deployment operation did not succeed
However, when building the same project in Visual Studio, the actual error is shown:
DEP3321 : To deploy this application, your deployment target should be running Windows Universal Runtime version 10.0.14393.0 or higher. You currently are running version 10.0.10586.962. Please update your OS, or change your deployment target to a device with the approriate version.
Ideally, this error should also be shown when building in Qt Creator or using winrtrunner from the command line.
For the record, to fix the error you need to change the version numbers in the Dependencies part of the Package.appxmanifest file in the build directory:
<Dependencies> <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.10586.0" MaxVersionTested="10.0.10586.0" /> </Dependencies>