char* convertQString2char(const QString &str) { QByteArray ba = str.toUtf8(); char * pathChar = ba.data(); return pathChar; }
char* convertQString2char(const QString &str) { QByteArray ba = str.toUtf8(); char * pathChar = ba.data(); return pathChar; }
转载于:https://www.cnblogs.com/amwuau/p/9776832.html