Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Windows Installer: how to change icon of desktop shortcut
Forum Updated to NodeBB v4.3 + New Features

Windows Installer: how to change icon of desktop shortcut

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 528 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mzimmersM Offline
    mzimmersM Offline
    mzimmers
    wrote on last edited by
    #1

    Hi all -

    With some help, I managed to get the Windows Installer to generate a desktop shortcut. Now users are asking that the shortcut icon be our company logo instead of the default application icon.

    I know that changing icons is normally a Windows exercise performed by the user. I'm wondering whether it's possible to do this from within the installscript...any ideas?

    Thanks...

    jsulmJ 1 Reply Last reply
    0
    • mzimmersM mzimmers

      Hi all -

      With some help, I managed to get the Windows Installer to generate a desktop shortcut. Now users are asking that the shortcut icon be our company logo instead of the default application icon.

      I know that changing icons is normally a Windows exercise performed by the user. I'm wondering whether it's possible to do this from within the installscript...any ideas?

      Thanks...

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @mzimmers It should be enough to change the application icon as described here: https://doc.qt.io/qt-5/appicon.html

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      mzimmersM 1 Reply Last reply
      4
      • jsulmJ jsulm

        @mzimmers It should be enough to change the application icon as described here: https://doc.qt.io/qt-5/appicon.html

        mzimmersM Offline
        mzimmersM Offline
        mzimmers
        wrote on last edited by
        #3

        @jsulm hey, you're right! That was a pleasant surprise on a couple of fronts: I didn't realize the shortcut took the icon of the original file, and also this seemed to be a more straightforward process than it used to be (no more .rc file; just an entry in the project file.)

        Thanks!

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved