summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2021-06-01 14:21:21 +0200
committerAndy Shaw <andy.shaw@qt.io>2021-06-14 13:42:35 +0200
commitb43f06e569a983ae273560f769ec8e6893515750 (patch)
treec9126140c6ee71368a77920bd7c09ecf9a1fd357 /doc
parent04c36c775a2feb331d8ab01ec602090de1f4d6ec (diff)
Doc: add note about limitation with CreateShortcut on Windows
Due to a limitation with the AllUsersStartMenuProgramsPath, Windows drops the arguments to the target and the Description set. It never reports an error and also appears to have the arguments set, so we have no way of catching the problem and trying to workaround it. Fixes: QTIFW-2257 Change-Id: I28e7a2e0733b462ab759797e61afdbae4be4b04f Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/operations.qdoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/operations.qdoc b/doc/operations.qdoc
index 854e1819d..7862cdaab 100644
--- a/doc/operations.qdoc
+++ b/doc/operations.qdoc
@@ -150,6 +150,11 @@
On Windows, this creates a .lnk file which can have
\c arguments. Furthermore, \c filename can be
an HTTP or FTP URL in which case a URL shortcut is created.
+ \note If the \c @AllUsersStartMenuProgramsPath@ is used for
+ placing the shortcut, then due to a problem on Windows, it will
+ drop any arguments to the target and any description set. In
+ this case, you should place the shortcut elsewhere and copy it
+ to the location desired.
The operation is currently not implemented on other platforms.
\row
\li CreateDesktopEntry