title: Qt Installer Framework : Create shortcut on the desktop
body: <p>I use Qt Installer framework 1.5</p>
  
  <p>After the installation, I would like to add a shortcut on the desktop.</p>
  
  <p>In my file installscript.qs, I tried :</p>
  
  <pre><code>Component.prototype.createOperationsForPath = function()
  {
    if (installer.value("os") === "win")
    {
      try {
        component.addOperation("CreateShortcut", "@TargetDir@/App.exe", "@DesktopDir@/App.lnk");
      }
      catch (e) {
        print(e);
      }
    }
  }
  </code></pre>
  
  <p>But it doesn't work, the shortcut isn't created and I don't have any error messages.
  The documentation on Internet is really light.</p>
  
  <p>Any idea ?
  Thank you</p>