convert from QString to String code example Example: how to convert qt string to string QString qs; // do things std::cout << qs.toStdString() << std::endl;