Because there is no QString constructor taking a std::string as agrument.Why is that?
Use QFile and QTextStream, there is an example of reading a file line-by-line in QFile documentation.What's the best way to obtain a line from a file in Qt?
Bookmarks