Obsolete Members for installer

The following members of QML type installer are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

Methods

Method Documentation

[deprecated in 4.6] stringlist allowedRunningProcesses()

This method is deprecated since scripting 4.6. We strongly advise against using it in new code.

The maintenance tool no longer automatically checks for all running processes in the installation directory for CLI runs. To check for a process to stop, use component.addStopProcessForUpdateRequest instead.

Returns processes that are allowed to run when updating with the maintenance tool.

See also setAllowedRunningProcesses().


[deprecated in 4.5] void clearComponentsToInstallCalculated()

This method is deprecated since scripting 4.5. We strongly advise against using it in new code.

Installer framework recalculates components each time the calculation of components to install is requested, so there is no need to call this anymore, and the method does nothing. On previous versions calling this forced a recalculation of components to install.


[deprecated in 4.5] void componentsToInstallNeedsRecalculation()

This method is deprecated since scripting 4.5. We strongly advise against using it in new code.

Use recalculateAllComponents() instead.

Ensures that component dependencies are re-calculated.


[deprecated in 4.6] void setAllowedRunningProcesses(stringlist processes)

This method is deprecated since scripting 4.6. We strongly advise against using it in new code.

The maintenance tool no longer automatically checks for all running processes in the installation directory for CLI runs. To check for a process to stop, use component.addStopProcessForUpdateRequest instead.

Sets additional processes that can run when updating with the maintenance tool.

See also allowedRunningProcesses().