C

QUL_FONT_CACHE_PREALLOC

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.

Description

Controls preallocation of the cache buffer used by selected font engine. The default value is ON, which means preallocation is enabled.

Example

set_target_properties(<Executable Target> PROPERTIES
    QUL_FONT_ENGINE "Spark"
    QUL_FONT_FILES <Monotype Spark Font File>
    QUL_FONT_CACHE_SIZE <Size>
    QUL_FONT_CACHE_PREALLOC OFF
)

See also Text Rendering and Fonts and QUL_FONT_CACHE_SIZE.

Available under certain Qt licenses.
Find out more.