[Qt-interest] Antwort: Re: different QTDIR on development machine and target

Girish Ramakrishnan girish at forwardbias.in
Tue Apr 21 17:56:23 CEST 2009


Markus Franke wrote:
> 
> Srdjan Todorovic <todorovic.s at googlemail.com> schrieb am 21.04.2009
> 15:58:28:
> 
>> Does this not work?
>>
>>    export QTDIR=/my/special/qt/path
>>    export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
>>    ./my_special_application -myargs
> 
> No it doesn't. Actually I am using static linkage and just want to
> manipulate QTDIR so that the fonts will be found. Qt searches for the
> fonts in QTDIR/lib/fonts.

Use QT_QWS_FONTDIR.

Girish



More information about the Qt-interest-old mailing list