Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
How to convert from a QTString type to String type in C++ .......... please help me?
i have a file name stored in a varible of type qtstring and i need to move it into a variable of type string.... but i don't know how .... can you help me pleeeeeeeeeeeez.
- alakit013Lv 51 decade agoFavorite Answer
using namespace std;
const std::string & qt2string(
std::string & dest, const qtstring & src )
dest = (const char*) src.data();