Hi guys, this is something which is making me wild...
This is a simple thing but I'm not able to understand why this is not happening...
My code is something like this
const std::string &str = "hello";
QString s(str); //here is the error, cannot typecast std::string to QString
I dont want to use const char* in QString constructor
like this QString s(str.data());
My target is to use only std::string as an argument to QString...
Can anyone help please
Thankx