回复: qt5.2.0 交叉编译 跑到arm板上,中/英字符都显示不出来
#6 [ace3196758 02-18 20:26]
dwhome:
不错,顶
是不是字库问题
不太像字体库的问题
我重新编译了一次 ./configure的时候又增减了一些选项,并且这回是静态编译的
移植到板子上就运行OK了
#7 [ace3196758 02-18 20:27]
fdhchina:
楼主 怎么 交叉编译 qt5.2
怎么编译4.8的 5.2也差不太多
#8 回 ace3196758 的帖子 [自强不吸 02-19 13:53]
ace3196758:我的解决了,你的是什么问题啊(2014-02-18 20:25)
英文可以,中文不显示。。。
(ARM)运行的时候打印提示这句话QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
#9 回 ace3196758 的帖子 [自强不吸 02-19 13:59]
ace3196758:我的解决了,你的是什么问题啊(2014-02-18 20:25)
板子上程序能正常跑起来,除了打印提示这句话QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
还有一句:this plugin does not support propagatesizehints()
太头疼了,应该不是字库的问题
#10 Re:回 ace3196758 的帖子 [ace3196758 02-19 14:13]
自强不吸:
英文可以,中文不显示。。。
(ARM)运行的时候打印提示这句话QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
问题 3:./system/rootlib/helloworld -qws ,程序运行起来,仍报错
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
解决 :下载 http://ftp.gnu.org/gnu/libiconv/libiconv-1.14.tar.gz
./configure -prefix=$PWD/_install -host=arm-linux-gnueabihf
make
make install
把_install/lib 下的preloadable_libiconv.so 拷到系统的/system/lib 下,
export LD_PRELOAD=/system/lib/prel ..