C

MCU.Config.fontEngine

Selects a font engine for the project.

Description

By default, Qt Quick Ultralite applications use the static font engine. When this property is set, the provided font engine is used instead.

Available values:

ValueDescription
Staticstatic font engine
SparkMonotype Spark font engine, causes an application to be linked with the Monotype Library

Note: There can be only one font engine per project.

Usage

This property is accepted in the main application .qmlproject file. It takes a string, and the default value is "Static".

The available options are:

  • "Static"
  • "Spark"

Code example:

MCU.Config {
    fontEngine: "Spark"
}

Since

This property was introduced in QmlProject API 1.3 .

See also QUL_FONT_ENGINE.

Available under certain Qt licenses.
Find out more.