qstring
How do I convert QString to std:: string?
I tried to do this:
QString string;
// делаю так ...
std::cout << string << std::endl;
But the problem is, the ...
This question, translation of the question: https://stackoverflow.com/questions/4214369/how-to-convert-qstring-to-stdstring
Qt. QString translation to ASCII code
I read about toLocal8Bit (). constData ()...but I didn't get it.
Or tell me how to translate QString to char.