Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-61441

Lack of error information when targeting wrong Windows SDK



    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.9.0
    • Fix Version/s: 5.9.2
    • Environment:
      Windows 10 10.0.10586.962

      Visual Studio 2015

      Windows SDK 10.0.14393.0 installed in Visual Studio, but not in Windows
    • Commits:
      b307d12957422f9b8118dead4cc1dfe72bbdbf29 b936ce085f74fa7c563fb942290c5e8ad9517e42


      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:

          <TargetDeviceFamily Name="Windows.Universal"
            MaxVersionTested="10.0.10586.0" />


        No reviews matched the request. Check your Options in the drop-down menu of this sections header.



            • Assignee:
              owolff Oliver Wolff
              dragly Svenn-Arne Dragly
            • Votes:
              0 Vote for this issue
              2 Start watching this issue


              • Created:

                Gerrit Reviews

                There are no open Gerrit changes