Originally Posted by yangyunzhao But in my program ,I use a third party API. The third party API request a std::string or char* parameter. Try: Qt Code: Switch view string->toUtf8()->data(); string->toUtf8()->data(); To copy to clipboard, switch view to plain text mode
string->toUtf8()->data();
Last edited by yogeshgokul; 24th August 2009 at 07:29.
Forum Rules
Bookmarks