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

Issues with Qt Installer Framework 4.0



  • I am trying out IFW 4.0 from the actual download. My OS is Mac OS X 10.14.6.
    It looks like "<Icon>" tag is not recognized. I get this error:

    Create mac installer from release[0] Parsed arguments, ok.
    [6] Warning: QFile::remove: Empty or null file name
    Caught exception: 
    Error in /Users/ademmler/QtProjects/Spectraproof2/Installers/mac/config/config.xml, 
    line 8, column 10: Unexpected element "Icon".
    [6] Cleaning up...
    

    This is my config file:

    <?xml version="1.0" encoding="UTF-8"?>
    <Installer>
        <Name>Installer Test</Name>
        <Version>2.1.0-RC</Version>
        <Title>Installer Test</Title>
        <Publisher>Lacunasolutions</Publisher>
        <ProductUrl>http://test.com</ProductUrl>    
        <Icon>spicon.icns</Icon>
        <Logo>splogo.png</Logo>
        <Background>splogo.png</Background>
        <StartMenuDir>MyApplications</StartMenuDir>
        <TargetDir>/Applications/MyApplications/InstallerTest</TargetDir>
        <WizardStyle>MacStyle</WizardStyle>
    </Installer>
    

    Another issue is, that none of the design options (Logo, Icon etc.) are working at all.

    <InstallerApplicationIcon>splogo</InstallerApplicationIcon>
        <InstallerWindowIcon>splogo</InstallerWindowIcon>
        <Logo>splogo.png</Logo>
        <Background>splogo.png</Background>
    


  • I got a hint from qt Bug report team about this.

    The missing part for me was the hint, that those images have to go also into "config"
    dir instead of meta and that they need to have all different file names.



  • I got a hint from qt Bug report team about this.

    The missing part for me was the hint, that those images have to go also into "config"
    dir instead of meta and that they need to have all different file names.


Log in to reply