vinothrajendran
5th March 2015, 10:37
-> I want to add arialbd.ttf file (part of FTGL library) into my project using resource file(.qrc)
-> I have added the file into .qrc file which is shown below.
<RCC>
<qresource prefix="/">
<file>arialbd.ttf</file>
</qresource>
</RCC>
-> But i get the following error msg at runtime,
FT_Stream_Open: could not open `://arialbd.ttf'
-> Here is where i am adding the path in code
ftgl_pixFont = new FTGLPixmapFont((const char*)"://arialbd.ttf");
like to hear suggestions
-> I have added the file into .qrc file which is shown below.
<RCC>
<qresource prefix="/">
<file>arialbd.ttf</file>
</qresource>
</RCC>
-> But i get the following error msg at runtime,
FT_Stream_Open: could not open `://arialbd.ttf'
-> Here is where i am adding the path in code
ftgl_pixFont = new FTGLPixmapFont((const char*)"://arialbd.ttf");
like to hear suggestions