Results 1 to 5 of 5

Thread: How to add icon using QT installer framework

  1. #1
    Join Date
    Mar 2015
    Posts
    11
    Qt products
    Qt3
    Platforms
    Windows

    Default 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.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,534
    Thanks
    13
    Thanked 1,576 Times in 1,505 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default 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

  3. #3
    Join Date
    Mar 2015
    Posts
    11
    Qt products
    Qt3
    Platforms
    Windows

    Default 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?

    TIAsample.PNG

  4. #4

    Default 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!

  5. #5
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,534
    Thanks
    13
    Thanked 1,576 Times in 1,505 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default 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.

Similar Threads

  1. Qt Installer Framework: Documentation about using scripts is wrong?
    By Bobby.Rock in forum Installation and Deployment
    Replies: 3
    Last Post: 12th February 2016, 08:56
  2. Replies: 0
    Last Post: 7th July 2015, 18:59
  3. Replies: 0
    Last Post: 10th April 2015, 12:02
  4. Installer Framework (IFW 2.0) and Qt5 - errors while make && qmake
    By Charlie37 in forum Installation and Deployment
    Replies: 0
    Last Post: 9th January 2015, 09:23
  5. Qt Installer Framework Styling
    By jmsbc in forum Installation and Deployment
    Replies: 1
    Last Post: 3rd August 2013, 11:33

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.