Warning: Using cmake target properties is deprecated since 2.4, consider using MCU.Config.glyphsRuntimeAllocationType instead. -rasterized glyph data to RAM.
Note: Board defaults can be set using
QmlProject in the
BoardDefaults.qmlprojectconfig files. See QmlProject Manual.
Configure runtime allocation type used when copying pre-rasterized glyph data to RAM.
If QUL_GLYPHS_RESOURCE_CACHE_POLICY is set to
"OnStartup", then the runtime allocation type specifies which memory area is used when copying the glyph data.
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 + 1, and so on in a platform specific way.
If not set, the default value is
See Text Rendering and Fonts for font engine-specific details.
set_target_properties(<Executable Target> PROPERTIES QUL_GLYPHS_RESOURCE_RUNTIME_ALLOCATION_TYPE "128")
This property was introduced in Qt Quick Ultralite 2.0.
Available under certain Qt licenses.
Find out more.