C

QUL_DEFAULT_FONT_FAMILY

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

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

Default font family for Text elements.

Description

Determines the default font.family for Text and StaticText elements. The default value is "DejaVu Sans".

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

Example

set_target_properties(<Executable Target> PROPERTIES QUL_DEFAULT_FONT_FAMILY "<Font Family Name>")

Since

This property was introduced in Qt Quick Ultralite 1.5.

Available under certain Qt licenses.
Find out more.