小弟现在要移植qt-embedded-opensource-4.5.1到板子上,使用qt自带的触摸屏校准程序,记过很不让人满意,所以我现在打算用tslib-1.4给qt4.5.1打补丁
软件环境:centos5.2,gcc-4.1.1(crosstools)
硬件:ARM920T
系统:qt-embedded-opensource-4.5.1.tar.gz 解压到/home/Raymond/qt-embedded-arm-tslib下
tslib-1.4编译通过,安装到/usr/local/下,同时复制了一份到/nand1/tslib-1.4中
进入/home/Raymond/qt-embedded-arm-tslib中
执行:./configure -prefix /nand1/Trolltech/QtEmbeddedARMTSLib -release -shared -qvfb -make libs -nomake tools -make examples -make docs -make demo -no-cups -no-iconv -no-dbus -webkit -no-openssl -xplatform qws/linux-arm-g++ -embedded arm -little-endian -qt-freetype -qt-gfx-linuxfb -no-gfx-transformed -no-gfx-multiscreen -no-gfx-vnc -no-gfx-qvfb -qt-kbd-tty -qt-kbd-usb -no-glib -qt-mouse-tslib -I/nand1/tslib-1.4/include -L/nand1/tslib-1.4/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
/home/Raymond/qt-embedded-arm-tslib/mkspecs/qws/linux-arm-g++.
请问这个是什么原因?
根据提示,我又将
/home/Raymond/qt-embedded-arm-tslib/mkspecs/qws/linux-arm-g++ /qmake.conf
中添加了QMAKE_INCDIR=/nand1/tslib-1.4/include
QMAKE_LIBDIR=/nand1/tslib-1.4/lib
这两个参数原本在文件中没有,自己编写
回到/home/Raymond/qt-embedded-arm-tslib中
继续我的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
/home/Raymond/qt-embedded-arm-tslib/mkspecs/qws/linux-arm-g++.
请问这是为什么啊,我晕了,谢谢各位朋友帮忙指点