On this page

C

QUL_ENABLE_REINITIALIZATION_SUPPORT

Description

This variable is set to ON by default in the Qt Quick Ultralite core library.

It enables freeing and restoring volatile memory allocations, which is required for deep sleep and other power management features on platforms where certain memory regions (such as VRAM or external RAM) lose their contents during low-power states.

When enabled, the Loader, ListView, and Repeater items carry additional data to reinitialize dynamically created objects, and the ImageData instances maintain a tracking list to recover volatile allocations.

Disabling QUL_ENABLE_REINITIALIZATION_SUPPORT saves flash memory on platforms that do not use deep sleep or similar power management features. To disable it in the Qt Quick Ultralite core library, rebuild the core library with QUL_ENABLE_REINITIALIZATION_SUPPORT=OFF. For more information, see Building Qt Quick Ultralite from sources.

Since

This variable was introduced in Qt Quick Ultralite 3.0.

See also Qul::PlatformInterface::initializeReinitializationSupport().

Available under certain Qt licenses.
Find out more.