diff options
author | Katja Marttila <katja.marttila@qt.io> | 2022-12-29 14:40:52 +0200 |
---|---|---|
committer | Katja Marttila <katja.marttila@qt.io> | 2022-12-30 11:36:12 +0200 |
commit | 0d2a84f3ed90e810d4b17f01707a61b8867ca96f (patch) | |
tree | b47007263cc10740b1728b837b63252ce02d678d /doc/installerfw.qdoc | |
parent | 93f3a239ada70b9e61508df6e5b32a17e0d76844 (diff) |
Doc: Add information about postLoad usage in scripts
Task-number: QTIFW-2860
Change-Id: Icadb39c13279d3614179f8e16d33be696198a74c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Diffstat (limited to 'doc/installerfw.qdoc')
-rw-r--r-- | doc/installerfw.qdoc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/installerfw.qdoc b/doc/installerfw.qdoc index 6e403dc6b..476234f80 100644 --- a/doc/installerfw.qdoc +++ b/doc/installerfw.qdoc @@ -945,16 +945,15 @@ \row \li Script \li File name of a script being loaded. Optional. - Specifying the \c {postLoad="True"} attribute will cause the script + Specifying the \c {postLoad="true"} attribute will cause the script to be loaded only to the component that is selected for update or install. With the attribute, the script is loaded right before the component installation starts. This will speed up the installer if there are large amounts of components with install scripts in the repository. Make sure the script does not contain anything that needs - to be evaluated before the install tree is shown, like setting \c - <Default> to \c true. Both \c <Script postLoad="True"> and - \c <Script> tags can be used at the same time. - For more information, see \l{Adding Operations}. + to be evaluated before the install tree view is shown. + For more information, see \l{Adding Operations} and + \l{Using postLoad in component script}. \row \li UserInterfaces \li List of pages to load. To add several pages, add several |