Qt: Strange problem. Video link inside

holger
So, I compiled qt-embedded 4.8.1 for arm and installed in on me host pc and
on the Mini6410.
With Qt Creator I made a simple gui with one button and installed it on the
mini in /opt/Qtopia/bin and a desktop file to get an icon on the desktop.
If i clicked on the icon, I get an error message (App was terminated due to
application error (11)). If I run it from the console I get the result in
the following video.

http://www.youtube.com/watch?v=pDsquszYev0&context=C44ffd4cADvjVQa1P...=

What is the problem with this application and how can I made it working?

Thanks

TungPham
As i see,u're running your application on qtopia.
Basically, qtopia is a qt app that run on background, when you start your
application and touch screen, an input event is raised, both qtopia and ur
app become actived state and try to show it self on the screen. 

To fix it, try to kill qtopia, and start your application by serial port.
Or refer to Qt4 fluid demo to know how to start application on top of other
app.

Holger
Yes, thanks. 
I disabled qtopia in /etc/init.d/rcS and launched my app standalone. This
is exactly what I want. It works great wirh the latest qt (4.8.1)

I will write a little howto for this. The touchscreen was a little tricky
and no tutorial I found worked for the Mini6410.

mibrahim
Hi Holger,

I am using mini2440 and I have faced the same problem in the video.When I
disabled qtopia in /etc/init.d/rcS . actually Gui appears for me but touch
screen is not working.

Please, Can anyone help me??

Ari Romero
it might be late, but anyway, the solution for that is calling this before
running the app:

export QWS_MOUSE_PROTO=Tslib:/dev/input/event0