On this page

C

QUL_GLYPHS_RESOURCE_CACHE_POLICY

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

Configure copying of pre-rasterized glyph data to RAM for faster access.

Description

Sets the resource cache policy for glyphs.

The following is a list of possible values:

ValueResult
"OnStartup"The data is copied to RAM on startup. Although this enables faster access to data, it might use up your limited RAM.
"NoCaching"The data is not copied to RAM. Drawing a glyph to the screen from storage may result in reduced performance.

The default value is "OnStartup".

The QUL_GLYPHS_RESOURCE_RUNTIME_ALLOCATION_TYPE property can be used to further configure which memory area is used for the copying.

Note: This property affects both the Monotype Spark and Static font engines.

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

Example

set_target_properties(<Executable Target> PROPERTIES QUL_GLYPHS_RESOURCE_CACHE_POLICY "NoCaching")

Since

This property was introduced in Qt Quick Ultralite 2.0.

See also QUL_GLYPHS_RESOURCE_RUNTIME_ALLOCATION_TYPE, QUL_GLYPHS_RESOURCE_STORAGE_SECTION, and Text Rendering and Fonts.

Available under certain Qt licenses.
Find out more.