I found the following answer from Constantin Makshin in the Qt-interest mailing list:
QFile::link() function creates symbolic links (speaking in terms of
Unix-like systems) and Windows shortcuts is only a more or less equal
solution. And since symbolic links don't support command line arguments
(they are simply "the same file with different name"), QFile::link()
doesn't support them either.So you'll have to rely on native API to create such shortcuts/links.
Apart from using the native API, you could also create a .bat
file and store the command line call in there.