summaryrefslogtreecommitdiffstats
path: root/doc/scripting-api
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2021-01-22 14:50:16 +0200
committerKatja Marttila <katja.marttila@qt.io>2021-02-05 09:07:04 +0200
commit5aee36b74eb1d7613ea0108971e8a22f8dca8101 (patch)
tree30842cc3b88483c18facd2510ed7c5e3d0a0f138 /doc/scripting-api
parenta7b0eead83379d9343429a37efa8e39f924e8525 (diff)
Try rerunning execute operation
Execute operation can have hard coded paths to program which is executed. In case the program is relocated, UNDO operation will fail as it will not find the program. Implemented new XXXX_OLD value which can be used for overwriting the hardcoded value. In case the program execution fails, program is tried to launch again with the replaced value. Task-number: QTIFW-2125 Change-Id: I446a4c423e53cc4ffc6e5e25617d2400945ac3d9 Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Diffstat (limited to 'doc/scripting-api')
-rw-r--r--doc/scripting-api/packagemanagercore.qdoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/scripting-api/packagemanagercore.qdoc b/doc/scripting-api/packagemanagercore.qdoc
index 8a9d297a0..bacf50f27 100644
--- a/doc/scripting-api/packagemanagercore.qdoc
+++ b/doc/scripting-api/packagemanagercore.qdoc
@@ -728,6 +728,13 @@
*/
/*!
+ \qmlmethod string installer::key(string value)
+
+ Returns the installer key for \a value. If \a value is not known, empty string is
+ returned.
+*/
+
+/*!
\qmlmethod void installer::setValue(string key, string value)
Sets the installer value for \a key to \a value.