C

MCU.Config.safeBitmapRuntimeAllocationType

Description

This property is used to define the memory allocation type the platform should use while accessing the SafeImage, SafePicture and static SafeText resources. It's useful if the board offers different volatile memory alternatives, such as RAM, VRAM, or HyperRAM, or supports different memory allocation strategies.

The property takes an integer value between 0 to 255 inclusive. The given value needs to match the memory allocator types known by the platform. On most platforms the range [128,255] is dedicated to user-defined custom allocators.

If a target board supports custom runtime allocation types, they are described in the board-specific documentation.

The accepted values are defined in AllocationType.

Usage

This property is accepted in the main application .qmlproject file. It takes an integer, and the default value is 1.

Code example:

MCU.Config {
    safeBitmapRuntimeAllocationType: 129
}

Since

This property was introduced in Qt Quick Ultralite 2.12.0.

See also MCU.Config.safeBitmapStorageSection.

Available under certain Qt licenses.
Find out more.