Important: Please read the Qt Code of Conduct -

? about touchscreen calibration

  • I'm looking for some insight into how to do touchscreen calibration.

    My embedded systems details don't really matter as I have Linux & Qt up and running correctly. But in case you are interested, it's a Xilinx Zynq FPGA with Qt 5.6.3 on it.

    I can't seem to figure out the "proper" way to do calibration of a touchscreen. It looks like in Qt 4.x day, there was the QWSMouseHandler::calibrate() function. That seems to have gone away in Qt 5.x..

    I can't seem to find the same functionality in Qt 5.6.3. But, the Qt embedded docs seem to say that one should use the TSLIB plugin.

    I'm currently using EVDEVTOUCH and it works well. But, I'm in need to calibrate the touchscreen. Should I be using TSLIB instead?


    -brad w.

  • Is your application only need single touch? tslib only support single touch.
    Our application in low-end device uses tslib to calibrate the touch screen.
    With the backend, linuxfb, tslib works very well.

  • @wthung
    I went with TSLIB since we only needed single touch. It works pretty well.

    Thanks for the suggestion!

Log in to reply