Qt学习笔记 //str.toUtf8() ->字节数组QByteArray //.data() ->QByteArray -> char * qDebug()<< str.toUtf8().data();