PDA

View Full Version : The best way to convert QString to char



davinciomare
11th October 2016, 22:16
Which is the most easy and best way?
thx

jefftee
11th October 2016, 23:20
Which is the most easy and best way?
thx
char using what encoding? That's what methods like QString::toLocal8Bit(), QString::toStdString(), and QString::toUtf8() (and others) do, but you have to know what encoding you desire.