The touch screen tslib library is cross-compiled and run on arm for screen calibration test

Select a version to download on tslib's official github (URL below).

https://github.com/libts/tslib/tags

The version used this time is:tslib-1.22.tar.gz

After the download is complete, decompress it in ubuntu14.04

tar xzvf tslib-1.22.tar.gz

Configure the compilation output path of the cross compiler tool and tslib

./configure --host=arm-hisiv400-linux ac_cv_func_malloc_0_nonnull=yes --cache-file=arm-linux.cache --prefix=./arm-tslib

--host=arm-hisiv400-linuxThe name of the cross-compiler tool to use for the configuration

--prefix=./arm-tslibThe path to configure the output of cross-compiled libraries and executables

Then this library is used on Qt and needs to be used together with Qt source code compilation

Guess you like

Origin blog.csdn.net/qq_40170041/article/details/131695741