在 Qt 安装程序框架中,所有的演示都有TargetDir
规范(对于 Windows)将应用程序放置在例如C:\InstallationDirectory
. 我怎样才能让它默认为程序文件?
<?xml version="1.0" encoding="UTF-8"?>
<Installer>
<Name>Your application</Name>
<Version>1.2.3</Version>
<Title>Your application Installer</Title>
<Publisher>Your vendor</Publisher>
<StartMenuDir>Super App</StartMenuDir>
<TargetDir>@RootDir@InstallationDirectory</TargetDir>
</Installer>