Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. UWP fails to Publish as a Qt/MSBuild project

UWP fails to Publish as a Qt/MSBuild project

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 486 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.
  • S Offline
    S Offline
    steno
    wrote on last edited by
    #1

    I'm using Qt 5.15.2 and VS add-in 2.6.0.7. I can build and run a Qt/MSBuild project; however, I can not publish it to a UWP package. I had to create the project by starting off with QtCreator project because of a bug in qmake. I created the intitial project with the following command, qmake -tp vs. I then converted the project to a Qt/MSBuild project with the VS Add-in. When I publish the project I get the following error:

    1>Target _SplitResourcesPri:
    1> Building target "_SplitResourcesPri" completely.
    1> Output file "release\split.generatedFiles.txt" does not exist.
    1> Using "GenerateProjectPriFile" task from assembly "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.Build.Packaging.Pri.Tasks.dll".
    1> Task "GenerateProjectPriFile"
    1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.AppXPackage.Targets(4176,5): error MSB4044: The "GenerateProjectPriFile" task was not given a value for the required parameter "MakePriExeFullPath".
    1> Done executing task "GenerateProjectPriFile" -- FAILED.
    1>Done building target "_SplitResourcesPri" in project "DataStreamer.vcxproj" -- FAILED.
    1>
    1>Done building project "DataStreamer.vcxproj" -- FAILED.
    1>
    1>Build FAILED.
    1>
    1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.AppXPackage.Targets(4176,5): error MSB4044: The "GenerateProjectPriFile" task was not given a value for the required parameter "MakePriExeFullPath".
    1> 0 Warning(s)
    1> 1 Error(s)
    1>
    1>Time Elapsed 00:00:00.68
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    ========== Package: 0 succeeded, 1 failed ===========

    Does anyone have any idea how to fix this issue?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      julia_95
      wrote on last edited by
      #2
      This post is deleted!
      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