diff options
| author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2020-02-26 10:47:42 +0100 |
|---|---|---|
| committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2020-02-26 14:11:54 +0000 |
| commit | 8b5934900cb7b88ec5b00a0660b4cf55920c7855 (patch) | |
| tree | 7f4a52364ce70c80fc740add284963164452b67d | |
| parent | 9684a5f269bdbece727893747dc28d455faf4c0f (diff) | |
| download | qt-creator-8b5934900cb7b88ec5b00a0660b4cf55920c7855.tar.gz | |
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>
| -rw-r--r-- | doc/qtcreator/src/qtquick/qtquick-from-qmlproject-to-pro.qdoc | 6 |
1 files changed, 6 insertions, 0 deletions
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 73df38d295..b02dc93b18 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. |
