This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Integrate Tslib with QT

Hi

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 

export QT_QPA_PLATFORM=linuxfb
export PATH=$PATH:/home:/jre/ejre1.7.0_45/bin/
export LOG4C_RCPATH=/home/CV1/log4c
export QT_DEBUG_PLUGINS=1
export QT_PLUGIN_PATH=/usr/lib/qt/plugins
export QT_QPA_FONTDIR=/usr/lib/fonts
export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/qt/plugins/platforms

export QT_QPA_GENERIC_PLUGINS=tslib:/dev/input/event0
export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/event0
export TSLIB_FBDEVICE='/dev/fb3'
export TSLIB_CONSOLEDEVICE=none
export TSLIB_TSDEVICE=/dev/input/event0
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_PLUGINDIR=/usr/lib/ts
export TSLIB_TSEVENTTYPE='INPUT'

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??

Regards

Divya