C

FontFiles.files

Description

The files property is a list of strings. Each element in the list is the path to a font file.

Note: The files property can be combined with the directory property in a FontFiles node.

Usage

FontFiles {
    files: ["assets/fonts/myfont.ttf"]
}

Since

This property was introduced in QmlProject API 1.3 .

See also FontFiles.directory.

Available under certain Qt licenses.
Find out more.