Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Can't change icon of QT installer



  • Hello,
    I create a simple installer to my Qt app using Qt installer framework, but i have a problem change the Installer icon i use this config.xml file

    <?xml version="1.0" encoding="UTF-8"?>
    <Installer>
        <Name>Test my app</Name>
        <Version>0.1.2</Version>
        <Title>Installer Test</Title>
        <Publisher>Me not them</Publisher>
        <!-- Directory name is used in component.xml -->
        <StartMenuDir>I said my app</StartMenuDir>
        <TargetDir>@HomeDir@/TestApp</TargetDir>
    	
    	<InstallerWindowIcon>logo_o.ico</InstallerWindowIcon>
        <InstallerApplicationIcon>logo_o.ico</InstallerApplicationIcon>
    	<Logo>50x50.png</Logo>
    	<Background>50x502.png</Background>
    	<WizardStyle>Modern</WizardStyle>
    	
    </Installer>
    
    

    everything looks fine the logo and so on, but the installer icon not changed at all so what is the mistake i made for that.
    Thanks in advance.

    [koahing: moved post]



  • Try it with just 'logo_o'

    InstallerApplicationIcon: "Filename for a custom installer icon. The actual file is looked up by attaching a '.icns' (OS X), '.ico' (Windows). No functionality on Unix."

    http://doc.qt.io/qtinstallerframework/ifw-globalconfig.html


Log in to reply