现象 const char * name =tempName.toStdString().c_str(); //显示的乱码 解决: https://www.cnblogs.com/liushui-sky/p/9018319.html