c++ - Conversion from Qstring to std::string throws an exception -
surprisingly below code throwing exception.
qstring qtemp = qdir::temppath(); std::string temp = qtemp.tostdstring(); std::cout<<temp<<std::endl; when debugged using visual studio - go value variable qtemp . in next step bad pointer debugger results in exception when cout same.
this known symptom if you're mixing debug , release dlls.
Comments
Post a Comment