I want to assign the value in QString to a const std::string
QString qfile("some value");
this is the const std::string variable
const std::string file
The code that I m using
file = qfile.toStdString();
above codes works fine for a normal std::string . But there is some problem because of the keyword 'const'. How do I solve it ?