Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Add image to the exe link

Add image to the exe link

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 623 Views
  • 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.
  • B Offline
    B Offline
    Bruschetta
    wrote on last edited by Bruschetta
    #1

    Hello,

    i'm creating the application installer , the repository and the updater. All is going fine. I have created the .exe icon too BUT i saw that the link to the exe is white and with no ico.

    in the .pro file i have RC_ICONS = MYico.ico
    

    In the installscript i have this row:

    component.addOperation("CreateShortcut", "@TargetDir@/MyExe.exe", "@StartMenuDir@/ThisIsMyLink.lnk",
    

    To be more clear when i install the program MyExe.exe have the right icon(the one i have selected in .pro file) but ThisIsMyLink.lnk is a white link to the exe.

    There is a way to have the image on the link too?

    Thank you

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      I use the same install script and the icon works perfectly. Win7

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      B 1 Reply Last reply
      1
      • VRoninV VRonin

        I use the same install script and the icon works perfectly. Win7

        B Offline
        B Offline
        Bruschetta
        wrote on last edited by
        #3

        @VRonin
        hmm, i'm using windows 10 64bit.
        I'll see if it happens on another SO too.

        Thanks for the hint

        1 Reply Last reply
        0

        • Login

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