how can i do this:
_name__GetAvailable inp;
QString tmp;
inp.From = tmp;
this is definition of name_GetAvailable class:
class SOAP_CMAC _name__GetAvailable
{
public:
std::string *From;
std::string *To;
struct soap *soap;
}
I tried this :
inp.From = tmp.toStdString();
but i've got the following error:
C:\Qt2\Qt5.0.1\Tools\QtCreator\bin\Ticket\mainwindow.cpp:49: error: cannot convert 'std::string {aka std::basic_string}' to 'std::string* {aka std::basic_string*}' in assignment