PDA

View Full Version : Change font directory path



Beppe
26th June 2009, 11:50
Hi all.

I installed QT embedded 4.5.0 on my Fedora 9 machine under the default location

/usr/local/Trolltech/QtEmbedded-4.5.0-arm

Then I crosscompile my application for my target (ARM architecture) and the application searches fonts under the same location.

How can I change the font dir path? I have to edit thw qmake.conf file?


Thank you in advance

Beppe

QbelcorT
27th June 2009, 16:03
Hi I did that recently,
I tried to find a way using the qt.conf file but I don't know if it supports it, and I didn't want to maintain another file. You can edit the http://doc.trolltech.com/4.1/qt-conf.html
What I did was put a symbolic link in the original path pointing to the directory I have my fonts in.

Beppe
29th June 2009, 08:38
Thank you QbelcorT. I edit the qt.conf file and add my lib path. Now it works

r0bertu
7th May 2010, 19:17
Hello,

I have the same problem!
How I add a lib in my path?

Thanks!