Std :: String to Qstring

QString str = QString::fromUtf8(content.c_str());
Krishna Das