Warning: Using cmake target properties is deprecated since 2.4, consider using FontFiles.files instead.

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

List of paths of font files.


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

Qt for MCUs ships some fonts that are located at <Qt Quick Ultralite package instalation path>/src/3rdparty/fonts. By default QUL_FONT_FILES list is prepopulated with contents of this directory.

Note: When using Monotype Spark font engine, QUL_FONT_FILES must contain only a single font file in one of supported formats.

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


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

set_property(TARGET <Executable Target> APPEND PROPERTY QUL_FONT_FILES <Custom Font File>)

To stop Qt Quick Ultralite from using its default fonts overwrite QUL_FONT_FILES property value:

set_target_properties(<Executable Target> PROPERTIES QUL_FONT_FILES <Custom Font File>)

See QUL_FONT_FILES_RESOURCE_CACHE_POLICY, QUL_FONT_FILES_RESOURCE_STORAGE_SECTION, and QUL_FONT_FILES_RESOURCE_RUNTIME_ALLOCATION_TYPE for information about configuring the run-time storage of the application's font files.


This property was introduced in Qt Quick Ultralite 2.0.

Available under certain Qt licenses.
Find out more.