How to use user defined fonts in QT5 Widgets

preview_player
Показать описание
I will demonstrate on how to use font that i included on my resource file. This simple application uses QFileSystemMode and QTreeView to create a simple widget and dump all the file on the system. I will use Amharic font file that will only show Amharic words.
Рекомендации по теме
Комментарии
Автор

In short forme: instead of using QFile("fontFileName.tff");
Write:
;))

DaScrabi
Автор

Is there a way to ignore installed system fonts in Windows?

dailydols