You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

heng

Beginner

  • "heng" is male
  • "heng" started this thread

Posts: 28

Location: lille, france

Occupation: software developer

  • Send private message

1

Friday, March 27th 2015, 10:27pm

qt change screen calibration ?

Hi,

I have a qt program working fine with resistive (4 wires) touchscreen.
I use tslib to manage touchscreen and ts_calibrate to calibrate touchscreen. It give pointercal file in /etc/pointercal.

I show on my screen touchscreen detected position (mouse pointer).

My problem : when I calibrate touchscreen and then lauch qt program, touchscreen detected position is correct. But sometime, when I stop qt program and restart it, touchscreen detected position is not at correct position but with a small gap (like 5 pixel on the right/left/up/down). If I check with ts_test, detected position is also with same error.

I don't know what to do... It seems that qt changes touchscreen calibration at startup...

do you have any idea ? Did you have this problem ?

thanks