std::string QString::toStdString() const
This operator is mostly useful to pass a QString to a function that accepts a std::string object.
If the QString contains non-Latin1(非拉丁字母) Unicode characters, using this can lead to loss of information
std::string QString::toStdString() const