How to add icon using QT installer framework
Hello,
I would like to ask if anyone knows how to add icon in the application using QT Installer Framework.
<?xml version="1.0" encoding="UTF-8"?>
<Installer>
<Name>Note</Name>
<Version>1.0.0</Version>
<Title>Note</Title>
<Publisher>Note</Publisher>
<InstallerWindowIcon>Note1.png</InstallerWindowIcon>
<InstallerApplicationIcon>Note2.png</InstallerApplicationIcon>
<Logo>Note3.png</Logo>
<!-- Directory name is used in component.xml -->
<StartMenuDir>Note</StartMenuDir>
<TargetDir>@HomeDir@/Note</TargetDir>
</Installer>
In my config.xml I already add the installerwindowicon but still failed.
Please help.
Re: How to add icon using QT installer framework
InstallerApplicationIcon expects a bare file name matching either a name.ico file or name.icns file, not a PNG
https://doc.qt.io/qtinstallerframewo...-file-elements
1 Attachment(s)
Re: How to add icon using QT installer framework
thanks, the icon are now working.
after creating installer the executable don't have logo after running. do you know why?
TIAAttachment 11385
Re: How to add icon using QT installer framework
romzxlat,
Have you found a solution to this problem with the icon/logo after installing and running the executable? I am having this exact same problem...
Thanks!
Re: How to add icon using QT installer framework
The icon displayed, for example, in the Windows Start Menu is the one embedded in the installed application executable. It has nothing to do with the icon embedded in the installer executable itself.