C

QUL_FONT_FILES_RESOURCE_RUNTIME_ALLOCATION_TYPE

Warning: Using cmake target properties is deprecated since 2.4, consider using MCU.Config.fontFilesRuntimeAllocationType instead. 's font files to RAM.

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

Configure runtime allocation type used when copying the application's font files to RAM.

Description

If QUL_FONT_FILES_RESOURCE_CACHE_POLICY is set to "OnStartup", then the runtime allocation type specifies which memory area is used when copying the application's font files.

For example, a platform might have SRAM, VRAM and SDRAM memory areas. The runtime allocation type specifies which one to use. The values correspond to the Qul::PlatformInterface::MemoryAllocator::AllocationType enum, but will typically be using the enum values Custom, Custom + 1, and so on in a platform specific way.

If not set, the default value is 3 (DefaultPreload).

See Text Rendering and Fonts for font engine-specific details.

Example

set_target_properties(<Executable Target> PROPERTIES QUL_FONT_FILES_RESOURCE_RUNTIME_ALLOCATION_TYPE "128")

Since

This property was introduced in Qt Quick Ultralite 2.0.

See also QUL_FONT_FILES_RESOURCE_STORAGE_SECTION, QUL_FONT_FILES_RESOURCE_CACHE_POLICY, and Text Rendering and Fonts.

Available under certain Qt licenses.
Find out more.