[Qt-interest] Deploying Qt with non-system fonts

Girish Ramakrishnan girish at forwardbias.in
Tue Oct 13 05:39:28 CEST 2009


Andreas Unger wrote:
> hello all,
> 
> I develop Qt apps on desktop linux which get deployed to mostly Win CE
> devices. I'm wondering how I could deploy my application with non-system
> fonts given the .ttf font file. Could somebody please tell me how to do
> this?
> 

Just package the font as part of the app (put it in your qrc). Then load
the font in Qt. I have a small example here -
http://git.forwardbias.in/?p=hacks/customfont.git;a=summary.

Girish



More information about the Qt-interest-old mailing list