use*_*840 5 c++ qt qt-installer
有时当我在Windows上使用带有"更新组件"的maintenancetool.exe时,在下载并安装更新之后会显示错误:
安装过程中出错(com.myapp.windows_x86_64):无法写入许可证文件:C:\ Program Files(x86)/MyApp/Licenses\license.txt
可以选择忽略错误,重试或退出.我无法弄清楚如何防止此错误.我的package.xml文件包含以下行:
<Licenses>
<License name="MyApp Public License Agreement" file="license.txt" />
</Licenses>
Run Code Online (Sandbox Code Playgroud)
和license.txt按照https://doc.qt.io/qtinstallerframework/ifw-tutorial.html#adding-licenses中的说明存储在package.xml所在的目录中.
编辑:我意识到我无意中使用了qt安装程序框架版本1,所以这可能是塞尔吉奥所指出的QTIFW-315错误.我已更新到版本3,似乎解决了这个问题.
| 归档时间: |
|
| 查看次数: |
328 次 |
| 最近记录: |