- Qt Creator Manual
- Using Custom Fonts
- Qt Creator Manual 4.13.3

Specifying Item Properties ◦ Annotating Designs

# Using Custom Fonts

For your UI to use custom fonts when you preview it on a device, you have to import the fonts to the project folder. Qt Design Studio deploys them to the device along with your UI.

Note: Use fixed-width fonts if you plan to animate running numbers, so that they do not appear to jump around the screen when they change.

To add fonts:

1. Select Library > Assets > Add New Assets.
2. Browse to the folder that contains the font files and select them.
3. Enter the name of the directory to save the fonts.
4. Select OK to save the fonts.

The fonts are added to the list of fonts for the Font property in Properties.

Specifying Item Properties ◦ Annotating Designs