Touchscreen inverted in Qtoipa but ok in ts_test

Erik L
I build qtopia from source and have my own dist based on Debian.
I can run ts_calibrate and ts_test, they work fine. But when i start Qtopia
the touchscreen is inverted.

Anyone experienced the same thing? Any solution to this?

Erik L
The problem was in my /bin/qtopia script.
Removed some of the automatic setup and it worked.