Жирнова Анастасия <kuz...@...> writes:

> 
> Hi, I'm using AT91SAM9261-EK board and built x11-image from Angstrom (branch
> 2009/Stable) is running on it.
> 
> I have to write my own program with GUI interface and make it running on my
> board under linux.
> For this I'm using QTCreator.bin (on my PC), where I can write my program,
> build project (I choose QT GUI-project) and run it on my computer. Then I'm
> rebuilding it with pre-built angstrom cross instruments and qmake for ARM.
> After project is compiled I'm copying it on the USB-card and then place it
> on my target (AT91SAM9261) in /home/user folder. Then I export LD_LIBRARY
> PATH and run program - for example ./myProg -qws.
> The program runs successfully, BUT I can't press any buttons - so I can't
> take control on it. In my opinion there is a conflict between GPE and my
> GUI-program.  how can I solve it?

I had also problems with touchscreen support on QT embedded. It seems that
compiling it with  -qt-mouse-tslib configuration script solves the problem.
Than I had to run the program with the proper environment variable set: for me:
export QWS_MOUSE_PROTO='Tslib:/dev/input/event1'

For sure, before running it you will have to calibrate properly your
touchscreen: see if the /etc/pointercal file is present. If it is not accurate
in your opinion, you may want to update it with ts_calibrate from the
tslib-calibrate package.

Best regards,


_______________________________________________
Angstrom-distro-users mailing list
Angstrom-distro-users@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

Reply via email to