From 8b5934900cb7b88ec5b00a0660b4cf55920c7855 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Wed, 26 Feb 2020 10:47:42 +0100 Subject: [PATCH] Doc: Describe using custom fonts in Qt Quick Applications Developers can use custom fonts in Qt Quick UI projects that they create in Qt Design Studio. Additional steps are needed when converting these projects to Qt Quick Applications. Fixes: QTCREATORBUG-23646 Change-Id: Iebc8e6efd9683450232d1ea878925f9791536663 Reviewed-by: Thomas Hartmann --- .../src/qtquick/qtquick-from-qmlproject-to-pro.qdoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/qtcreator/src/qtquick/qtquick-from-qmlproject-to-pro.qdoc b/doc/qtcreator/src/qtquick/qtquick-from-qmlproject-to-pro.qdoc index 73df38d295b..b02dc93b187 100644 --- a/doc/qtcreator/src/qtquick/qtquick-from-qmlproject-to-pro.qdoc +++ b/doc/qtcreator/src/qtquick/qtquick-from-qmlproject-to-pro.qdoc @@ -114,6 +114,12 @@ \quotefile progressbar/main.cpp + \section1 Adding Custom Fonts + + To \l{Using Custom Fonts}{use custom fonts} from the Qt Quick UI project, + call the QFontDatabase::addApplicationFont() function from the \e {main.cpp} + file. + \section1 Adding Qt Quick Timeline Module to Qt Installations \note You only need to do this if your Qt version is older than 5.14.