I'm trying to use qrc file (Qt Creator 2.7 & Mac OS X) to manage my resources but it won't work... Here's the path of my font copy/pasted from Copy Resource Path to Clipboard :
:/fonts/data/Arial.ttf
Here's the part where I use it :
TTF_Font *font = TTF_OpenFont(":/fonts/data/Arial.ttf", 100);
And here's the result :
Error (Font) : Couldn't open :/fonts/test
But if I use the absolute path to the font, it works so the problem is not from TTF_OpenFont()