标题:qt embedded4.5.0 添加 tslib1.4库 出错
作者:paladind
日期:2010-08-02 08:54
内容:
现在要移植qt-embedded-opensource-4.5.0到板子上,我现在打算用tslib-1.4给qt4.5.0打补丁
软件环境:redhat9.0(完全安装),gcc-3.4.1(crosstools)
硬件:2440
系统:qt-embedded-opensource-4.5.0.tar.gz 解压
tslib-1.4编译通过,安装到/usr/local/下,同时复制了一份到/mnt/nfs/tslib中
进入解压好的/qt-embedded源码目录下
执行./configure -prefix /mnt/nfs/QtEmbedded-4.5.0-arm -embedded arm -no-opengl -qt-mouse-tslib -I /mnt/nfs/tslib/include -L mnt/nfs/tslib/lib
其中我已经指定了头文件目录和库文件目录
但是在configure过程中,出现如下错误:
The tslib functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR and QMAKE_LIBDIR in
/qte-arm/mkspecs/qws/linux-arm-g++.
请问这个是什么原因?
根据提示,我又将
/qte-arm/mkspecs/qws/linux-arm-g++./qmake.conf
中添加了QMAKE_INCDIR=/mnt/nfs/tslib/include
QMAKE_LIBDIR=/mnt/nfstslib/lib
这两个参数原本在文件中没有,自己编写
继续configure
可是结果还是:
The tslib functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR ..
#1 [shangzhao311 09-05 10:14]
你搞定这个了吗?我也碰到同样的问题,头都搞大了,能不能分享一下
#2 [ketiy2004 09-06 15:45]
/qte-arm/mkspecs/qws/linux-arm-g++/底下的编译器选用绝对路径试试!
#3 [tyhj2000 09-08 10:45]
楼上正解应该是