Note: This CMake API is deprecated. Use the
BoardDefaults.qmlprojectconfig files instead. See QmlProject Manual.
Note: This property is relevant only for the Monotype Spark font engine.
The maximum amount of RAM (in bytes) that selected font engine will use for its cache. The default value is 200 kb. To disable the cache, set the value to 1.
Since Qt Quick Ultralite 1.9, the cache buffer is preallocated by default. See QUL_FONT_CACHE_PREALLOC for instructions on how to disable preallocation.
See Text Rendering and Fonts for font engine-specific details.
set_target_properties(<Executable Target> PROPERTIES QUL_FONT_ENGINE "Spark" QUL_FONT_FILES <Monotype Spark Font File> QUL_FONT_CACHE_SIZE <Size> )
The font engine cache size used by the application can be seen by looking at the performance logs.
Refer to the font engine cache part of the Resource cache documentation for tips on how to choose an appropriate cache size.
Available under certain Qt licenses.
Find out more.