问题: QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
This application failed to start because it could not find or load the Qt platform plugin "eglfs".
Reinstalling the application may fix this problem.
Aborted
解决:1,这里假如有提示:
QIconvCodec::convertFromUnicode: usingLatin-1 for conversion, iconv_open failed
QIconvCodec::convertToUnicode: using Latin-1for conversion, iconv_open failed
这是因为在./configure的时候没有添加-no-iconv 也就是在autuconfig.sh添加上-no-iconv \ 就可以,假如没加上,qt会使用QIconvCodec类进行编码的转换,而qt本身不再使用该类,所 以不要使用该库。当然也可以下载去这个网址http://ftp.gnu.org/gnu/libiconv/下载libiconv来安装该库
解决2、6. 下面以 /home/wuqh_thu/Qt5.7.0/Tools/QtCreator/lib/Qt/plugins/platforms 为例说明将其加入环境变量的办法:
$ sudo vim profile
将光标移动到末尾ÿ