Obsolete Members for installer | Qt Installer Framework Manual

- Qt Installer Framework Manual
- scripting
- installer

# 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

- stringlist allowedRunningProcesses()`(deprecated since 4.6)`
- void clearComponentsToInstallCalculated()`(deprecated since 4.5)`
- void componentsToInstallNeedsRecalculation()`(deprecated since 4.5)`
- void setAllowedRunningProcesses(stringlist processes)`(deprecated since 4.6)`

## Method Documentation

stringlist allowedRunningProcesses()

This method is deprecated since 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().

void clearComponentsToInstallCalculated()

This method is deprecated since 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.

void componentsToInstallNeedsRecalculation()

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

Use recalculateAllComponents() instead.

Ensures that component dependencies are re-calculated.

void setAllowedRunningProcesses(stringlist processes)

This method is deprecated since 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().