C

QUL_FONTS_DIR

Search path for fonts.

Description

Contains a list of paths. During compilation, Qt Quick Ultralite looks for the fonts requested by the Text and StaticText instances in this list of paths.

The default fonts location is <Qt Quick Ultralite package instalation path>/src/3rdparty/fonts. It's stored in the default value of the QUL_FONTS_DIR property.

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

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

Example

To add additional fonts to your target, append to the QUL_FONTS_DIR target property:

set_property(TARGET <Executable Target> APPEND PROPERTY QUL_FONTS_DIR <Custom Fonts Location>)

To stop Qt Quick Ultralite from looking for the fonts in its default directory overwrite QUL_FONTS_DIR property value:

set_target_properties(<Executable Target> PROPERTIES QUL_FONTS_DIR <Custom Fonts Location>)

Since

This property was introduced in Qt Quick Ultralite 1.5.

Available under certain Qt licenses.
Find out more.