Note: This CMake API is deprecated. Use the
BoardDefaults.qmlprojectconfig files instead. See QmlProject Manual.
Configure copying of pre-rasterized glyph data to RAM for faster access.
Sets the resource cache policy for glyphs.
The following is a list of possible values:
|The data is copied to RAM on startup. Although this enables faster access to data, it might use up your limited RAM.|
|The data is not copied to RAM. Drawing a glyph to the screen from storage may result in reduced performance.|
The default value is
The QUL_GLYPHS_RESOURCE_RUNTIME_ALLOCATION_TYPE property can be used to further configure which memory area is used for the copying.
See Text Rendering and Fonts for font engine-specific details.
set_target_properties(<Executable Target> PROPERTIES QUL_GLYPHS_RESOURCE_CACHE_POLICY "NoCaching")
This property was introduced in Qt Quick Ultralite 2.0.
Available under certain Qt licenses.
Find out more.