Integrate Tslib with QT
drd1988on last edited by
In my project I am using timesys linux kernel 3.0.
We are using the Factory for building the filesystem.
I have enabled the tslib in the build system and i could successfully build the QT and Tslib related things like ts_calibrate,ts_test.
i have copies ts.conf under /etc and copied ts_calibrate and ts_test under /usr/lib.
And finally I have copied ts folder and libts-1.0.so.
By adding below environment variables in /etc/profile
I could successfuly run ts_calibrate and ts_test.
As a result of running ts_calibrate, a file named pointercal will be generated.
And when i execute the ts_test I can see that drawing app is working perfectly.
But concern is that When i tried to load a drawing QT application which is developed by me which is using openGL and frame buffer,the touch is not working as ts_test works.
I could understand that my QT application is not using the pointercal file.
Could you please help me to resolve this issue.
How can i verify whether my test app is using the pointercal file or not?
Am i missing something??
kumararajas last edited by
May I ask you, what's in your test application?
What events you are looking for?
I guess, tslib, posts the touch events as mouse events to Qt. If you are processing mouse events, then we should analyze in a different way.