[Development] Problem with embedded fonts

Guido Seifert wargand at gmx.de
Tue May 12 14:53:53 CEST 2015

Please ignore last mail. He now added the .qrc file. Now it is obvious what happened. Sorry for the noise.


On Tue, 12 May 2015 14:51:56 +0200
Guido Seifert <wargand at gmx.de> wrote:

> Hi,
> could someone take a look at this problem on SO:
> http://stackoverflow.com/questions/30112344/how-to-embed-a-custom-font-in-my-application?noredirect=1#comment48483846_30112344
> Anyone an idea? The problem is solved, but the solution does not 'taste well'. 
> A .ttf font was added to the program's resources. But it looks like in this process the .ttf extension was swallowed.
> According to the asker, the embedded font works, when the font file name is used without extension. Good that it works
> for him now, but doesn't this break platform independence? 
> And why don't we hear about this problem more often? Strange.
> Guido
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

More information about the Development mailing list