问题:
使用Qt5.9开发UWP程序,点击运行之后系统提示如下错误:
~
qt.winrtrunner: "C:/Qt/work/build-untitled1-Qt_5_9_0_for_UWP_64bit_MSVC_2017-Debug/debug/AppxManifest.xml" does not exist.
qt.winrtrunner: Unable to find a run profile for "C:/Qt/work/build-untitled1-Qt_5_9_0_for_UWP_64bit_MSVC_2017-Debug/debug/untitled1.exe" .
~
解决方法:
只要按照下图红色标识的位置配置好即可。
you can set the Kit’s Qt mkspec to winrt-x86-msvc2017, winrt-x64-msvc2017 or winrt-arm-msvc2017 depending on target architecture.
参考下面的地址解决问题:
https://bugreports.qt.io/browse/QTCREATORBUG-18288
本文解决了一个在使用Qt5.9开发UWP应用程序时遇到的问题,即运行程序后出现关于AppxManifest.xml文件缺失及无法找到运行配置的错误提示。通过设置正确的Qt mkspec为winrt-x86-msvc2017、winrt-x64-msvc2017或winrt-arm-msvc2017,可以针对不同目标架构解决此问题。
601

被折叠的 条评论
为什么被折叠?



