C
MCU.Config.safeTextRuntimeAllocationType
Description
Use this property to define the memory allocation type the platform should use while accessing the dynamic SafeText resources. It's useful if the board offers different volatile memory (for example RAM, VRAM or HyperRAM) alternatives, 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 3.
Code example:
MCU.Config { safeTextRuntimeAllocationType: 129 }
Since
This property was introduced in Qt Quick Ultralite 2.12.0.
See also MCU.Config.safeTextStorageSection.
Available under certain Qt licenses.
Find out more.