forked from qt-creator/qt-creator
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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user