On this page

C

QUL_QSR_TEXT_RUNTIME_ALLOCATION_TYPE

Note: Board defaults can be set using QmlProject in the BoardDefaults.qmlprojectconfig files. See Defining default variables for the platform and QmlProject Manual.

Define the dynamic SafeText's runtime allocation type.

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.

If not set on the application target, the value is looked up on the Qul::Platform target instead.

Example

set_target_properties(<Executable Target> PROPERTIES QUL_QSR_TEXT_RUNTIME_ALLOCATION_TYPE "129")

Since

This property was introduced in Qt Quick Ultralite 3.0.

See also QUL_QSR_TEXT_CACHE_POLICY and QUL_QSR_TEXT_STORAGE_SECTION.

Available under certain Qt licenses.
Find out more.