C

QUL_FONT_CACHE_PRIMING

Warning: Using cmake target properties is deprecated since 2.4, consider using MCU.Config.fontCachePriming instead.

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

Note: This property is relevant only for the Monotype Spark font engine.

Description

Set this property to ON/OFF, to enable or disable cache priming support. By default it is not enabled.

Note: QUL_FONT_CACHE_SIZE must be big enough to hold the data.

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

Example

set_target_properties(<Executable Target> PROPERTIES
    QUL_FONT_ENGINE "Spark"
    QUL_DEFAULT_FONT_FAMILY <Font Family>
    QUL_FONT_FILES <Monotype Spark Font File>
    QUL_FONT_CACHE_PRIMING ON
)

Available under certain Qt licenses.
Find out more.