C

MCU.Config.defaultFontFamily

Sets a default font family for Text items.

Description

Determines the default font.family for Text and StaticText elements. The name of the font family is to be specified as a string. The default value is "DejaVu Sans".

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

Usage

MCU.Config {
    defaultFontFamily: "Comic Sans"
}

Since

This property was introduced in QmlProject API 1.3 .

See also QUL_DEFAULT_FONT_FAMILY.

Available under certain Qt licenses.
Find out more.