void show(QString *s){
//Here I want to show the value of the QString.
}
どうやってやるの??
助けていただければ幸いです。
あなたが何を求めているのか正確にはわかりません-私のコメントを参照してください。
多分これは助けになりますか?
toAscii()、toLatin1()、toUtf8 ()をチェックしてください
const char* data = s->toAscii(); // if you want ASCII encoding
data = s->toUtf8(); // if you want UTF-8 encoding
// etc.