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.solinux

相關文章
相關標籤/搜索