On Tuesday 10 February 2009, Sujan Dasmahapatra wrote: > How can I convert a QString str1 to string str2. Assuming you mean std::string it's pretty obvious if you actually look into the docs a bit... std::string QString::toStdString () const -- Jan Ekholm jan.ekholm at smultron.net