apt-get install vim apt-get install libtool autoconf automake git gawk
如果编译中有一下错误,请安装对应的包。 (1) The test for linking against libxcb and support libraries failed! You might need to install dependency packages, or pass -qt-xcb. See src/plugins/platforms/xcb/README.
(4)libiconv-1.1.4编译与移植 1. ./configure -prefix=/Qt_install/libicon-1.14 -host=arm-none-linux-gnueabi make make intsll 2.复制安装目录/Qt_install/libicon-1.14/lib/preloadable_libiconv.so文件到开发板/lib目录即可
备注:CC和CXX可以改成自己的编译器比如:CC=arm-linux-gcc CXX=arm-linux-g++ --prefix=/tslib安装目录 --host=arm-linux 错误提示: (1) ./ts_calibrate No raw modules loaded. ts_config: No such file or directory
修改: tslib安装目录etc/ts.config : module_raw input 其他不变; (2) ./ts_calibrate xres = 480, yres = 272 tslib: Selected device uses a different version of the event protocol than tslib was compiled for ^Csignal 2 caught 修改: arm-none-linux-gcc-gnueabi中的头文件: /opt/arm-2011.09/arm-none-linux-gnueabi/libc/usr/include/linux/input.h 修改版本号 //bk 原来的 0x010001改成0x0x0000 //#define EV_VERSION 0x010001 //new tslib version error #define EV_VERSION 0x010000 /* 或者修改内核中 include/linux/input.h 修改同上。
三.Qt5.3移植 (1)Qt源码解压: tar -xvf qt-everywhere-opensource-src-5.3.0-RC.tar.gz (2)配置 1.修改 qtbase/mkspecs/linux-arm-gnueabi-g++目录下的qmake.conf cd /work/Qt/arm/qtbase/mkspecs/linux-arm-gnueabi-g++ gedit qmake.conf # # qmake configuration for building with arm-linux-gnueabi-g++ #
保存后,chmod a+x autoconfig.sh ./autoconfig.sh 运行 也可直接使用不写入autoconfig.sh 中间提示: Type 'c' if you want to use the Commercial Edition. Type 'o' if you want to use the Open Source Edition. 输入 “o” Type '3' to view the GNU General Public License version 3. Type 'L' to view the Lesser GNU General Public License version 2.1. Type 'yes' to accept this license offer. Type 'no' to decline this license offer.
Do you accept the terms of either license? 输入“yes”
zhangtao:你编译的arm版5.3 make install以后有字体库吗? 我的怎么没有 (2016-05-31 22:50)
移植到arm上需要自己复制过去一个字库,我用的是温泉驿的字库.
smaller
2017-03-25 16:52
+ -v参数出现错误提示主要是由于中间有些功能需要类似的库支持 我举个例子说下 db2.cpp:42:20: error: sqlcli.h: No such file or directory db2.cpp:43:21: error: sqlcli1.h: No such file or directory make: *** [db2.o] 错误 1 DB2 disabled.