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 <thomas.hartmann@qt.io>
This commit is contained in:
Leena Miettinen
2020-02-26 10:47:42 +01:00
parent 9684a5f269
commit 8b5934900c

View File

@@ -114,6 +114,12 @@
\quotefile progressbar/main.cpp \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 \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. \note You only need to do this if your Qt version is older than 5.14.