Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [solved]winrtrunner error "The environment variable ExtensionSdkDir is not set."

[solved]winrtrunner error "The environment variable ExtensionSdkDir is not set."

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 1 Posters 3.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    daljit97
    wrote on last edited by daljit97
    #1

    I am trying to build my project using the Visual Studio compiler in Qt Creator, but whenever I run the program the following error appears:

    qt.winrtrunner: Using the Appx profile.
    qt.winrtrunner: The environment variable ExtensionSdkDir is not set.
    qt.winrtrunner: The directory "" does not exist.
    
    1 Reply Last reply
    0
    • D Offline
      D Offline
      daljit97
      wrote on last edited by
      #2

      I have tried to add a "ExtensionSdkDir" in the build environment setting it to "C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1\ExtensionSDKs". Then the following error occurs

      qt.winrtrunner: Using the Appx profile.
      qt.winrtrunner: Failed to activate application: 0x80073cf1 "Package was not found."
      
      1 Reply Last reply
      0
      • D Offline
        D Offline
        daljit97
        wrote on last edited by
        #3

        I have tried to run the same project with Visual Studio 2015 and it works fine, so I am assuming the problem must be Qt Creator.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          daljit97
          wrote on last edited by
          #4

          Alright, I found the solution to the problem. I set "ExtensionSdkDir" in the build environment to "C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1\ExtensionSDKs". Then I noticed that I did not enable "Developer Mode" in Windows 10 Settings (Update and security), enabling this function resolved the issue.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved