Obsolete Members for PackageManagerCore | Qt Installer Framework Manual

Qt Installer Framework Manual | PackageManagerCore

# Obsolete Members for PackageManagerCore

The following members of class PackageManagerCore are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

## Public Functions

`(obsolete)` void | setSharedFlag(const QString &key, bool value = true)
`(obsolete)` bool | sharedFlag(const QString &key) const

## Member Function Documentation

### void PackageManagerCore::setSharedFlag(const QString &key, bool value = true)

Sets a shared flag with the name key to value. This is one option to share information between scripts.

Deprecated since 2.0.0. Use setValue() instead.

See also sharedFlag() and setValue().

### bool PackageManagerCore::sharedFlag(const QString &key) const

Returns the shared flag with the name key. This is one option to share information between scripts.

Deprecated since 2.0.0. Use value() or values() instead.

See also setSharedFlag(), value(), and values().