how to convert qstring to string in qt c++ code example
Example: how to convert qt string to string
QString qs;
// do things
std::cout << qs.toStdString() << std::endl;
QString qs;
// do things
std::cout << qs.toStdString() << std::endl;