If you are happy with above code then use it directly, Qt will not complain. But take care to include appropriate header files for your STL classes. Once you are happy with what you got after parsing, then QString (a Qt string ) takes std::string as argument in one of its constructor.
Njoy
Bookmarks