编译QT4.8.5 for Beaglebone需要tslib库进行校准,此文档记录编译方法
- 安装ti sdk 
- autogen - 1 2 3 - sudo -s apt-get install libtool export CC=arm-linux-gnueabihf-gcc #不要export CC=arm-linux-gnueabihf-g++ ./autogen.sh 
- config 如果直接运行configure 脚本相关的代码出现交叉编译错误: - undefined reference to 'rpl_malloc',这是由- ac_cv_func_malloc_0_nonnull检查引起的,为了不让它检查,产生一个cache文件- daiq_tslib.cache, 欺骗configure再执行- 1 2 - $: echo "ac_cv_func_malloc_0_nonnull=yes" >daiq_tslib.cache` $: ./configure --host=arm-linux --cache-file=arm-linux.cache --prefix=$PWD/install --enable-inputapi=no ac_cv_func_malloc_0_nonnull=yes 
- 编译安装 
make && make install
