I want to get the directory to the startup programs on win menu, and using
Qt Code:
  1. QStandardPaths::standardLocations(QStandardPaths::ApplicationsLocation).at(0)
To copy to clipboard, switch view to plain text mode 
returns only the applications installed for current user:

Qt Code:
  1. C:\Users\[USERNAME]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
To copy to clipboard, switch view to plain text mode 

as opposed to for all users (most programs are installed here):

Qt Code:
  1. C:\ProgramData\Microsoft\Windows\Start Menu\Programs
To copy to clipboard, switch view to plain text mode 

Does Qt solve this, or am I going to have to hardcode the path? Or read with winapi?