QString text = ui.lineEdit‐>text;. QByteArray bytes =text.toLocal8Bit;. const char* gbk = bytes.data;. 註:QByteArray是 ...
確定! 回上一頁