arm qt5 iconv 问题

     问题 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/preloadable_libiconv.so

你可能感兴趣的:(arm qt5 iconv 问题)