Cannot change Qt App font

*Baby*
Hi,


I'm sorry, I tried everything but I don't success to change my Qt app font.

The issue is that the font size is different on the PC and on the Mini2440.
(Not the same font on the Mini2440).

On the Mini2440 Qt app seems to use the Courier 10. 

I have the preinstalled system, and I start Qt app like that :

/etc/init.d/rcS

export PATH=/opt/Qtopia/bin:$PATH
export LD_LIBRARY_PATH=/opt/Qtopia/lib:$LD_LIBRARY_PATH

export QTDIR=/usr/local/Trolltech/QtEmbedded-4.6.3-arm
export QPEDIR=/usr/local/Trolltech/QtEmbedded-4.6.3-arm
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:/usr/local/lib:$LD_LIBRARY_PATH
export TSLIB_TSDEVICE=/dev/input/event0
export TSLIB_CONFFILE=/usr/local/etc/ts.conf
export TSLIB_PLUGINDIR=/usr/local/lib/ts
export TSLIB_CALIBFILE=/etc/pointercal
export QT_QWS_FONTDIR=/usr/local/Trolltech/QtEmbedded-4.6.3-arm/lib/fonts
export QWS_MOUSE_PROTO="TSLIB:/dev/input/event0 USB:/dev/input/mice"
export QWS_SIZE='320x240'


echo "                                  " > /dev/tty1
echo "Starting Qt Application" > /dev/tty1
sleep 1
/udisk/qtapp -qws



In order to change the font I tried that :
- Start the app with "-qws -fn DejaVuSans"
- Add this : QWS_DISPLAY=LinuxFB:mmWidth=70:mmHeight=53
- I also tried to change the font in my Qt app

But I always have the Courrier 10 font when I run my app.

If someone can help me please ?

*Baby*
I'm sorry I found my error.

By default, the Mini2440 is shipped with Qt preinstalled but there is only
one font.

So, I add the other font and I put in order to adapt the size font for the
Mini2440 (otherwise the font are too small):

export QWS_DISPLAY=Transformed:Rot0:mmWidth=69:mmHeight=53


Now, I can choose the police from QtDesigner.