QT 4.8.4 编译

来源:互联网 发布:雷欧mac全灭图解 编辑:程序博客网 时间:2024/05/01 00:37

注意:

编译QT时,不需要配置CC=arm-linux-gcc 和 CXX=arm-linux-g++


① "count"......    

解决方法 :修改源文件 添加 int count=0 一共有两处需要天剑

② error: thread-local storage not supported for this target

解决方法:删除源文件中的 #define HAVE_TLS

③ Error: register or shift expression expected -- `orr r3,r2,lsl#16'

解决方法:

To fix this issue patch /src/3rdparty/freetype/include/freetype/config/ftconfig.h Line 330.

"orr %0, %2, lsl #16/n/t" /* %0 |= %2 << 16 */

+ "orr %0, %0, %2, lsl #16/n/t" /* %0 |= %2 << 16 */

他的意思是加多一个%0在%2前面,我试了一下,好使

0 0