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. Qt Installer Framework: Windows Quick Launch

Qt Installer Framework: Windows Quick Launch

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 809 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.
  • T Offline
    T Offline
    Thomas_Lerman
    wrote on last edited by
    #1

    In Windows, it is easy to add a shortcut on the desktop:

        if (isInstallDesktopIconChecked) {
            component.addOperation("CreateShortcut", "@TargetDir@/README.txt", "@DesktopDir@/README.lnk");
        }
    

    It would be nice if one could just as easily add a shortcut on the Quick Launch. I found I could do it with:

        if (isInstallQuickLaunchIconChecked) {
            component.addOperation("CreateShortcut", "@TargetDir@/README.txt", "@HomeDir@/AppData/Roaming/Microsoft/Internet Explorer/Quick Launch/README.lnk");
        }
    

    It would be nice if it were simplified such as:

        if (isInstallQuickLaunchIconChecked) {
            component.addOperation("CreateShortcut", "@TargetDir@/README.txt", "@QuickLaunchDir@/README.lnk");
        }
    

    Maybe a way exists, but I have not found it yet.

    1 Reply Last reply
    1
    • AndeolA Offline
      AndeolA Offline
      Andeol
      wrote on last edited by
      #2

      Apparently, recent versions of windows are now preventing any kind of automatic change to the taskbar: https://superuser.com/questions/1193985/command-line-code-to-pin-program-to-taskbar-windows-10

      I tried the solution presented here for adding shortcut to the taskbar, but it didn't work. It probably used to work on older windows versions, but now, shortcut is created and added to the folded, but not visible on the taskbar. It's probably going to be difficult to change this, as it comes from windows side. The taskbar is the user's territory. Only he can modify it.

      Developer for R++ : https://rplusplus.com/

      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