Ubuntu下安装Qt的时候要进行环境配置,在arm版本的编译环境的出现了以下问题:
**make: Nothing to be done for 'first'.
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/sss/Qt/src/qt-arm/mkspecs/qws/linux-arm-g++.**
这个问题我搞了很久啊,照提示修改了路径也不得行,在网上找了很多方法之后终于解决了。
首先就顺着提示最后的路径找到qmake.conf配置文档,然后打开编辑,在里面添加上:
**QMAKE_INCDIR += /home/sss/Qt/output/tslib/include
QMAKE_LIBDIR += /home/sss/Qt/output/tslib/lib