SyntaxFix
Write A Post
Hire A Developer
Questions
If compiled with STL compatibility, QString has a static method to convert a std::string to a QString:
QString
std::string
std::string str = "abc"; QString qstr = QString::fromStdString(str);