Can anyone tell me how to convert QString to const char*?
for example
QString mystring;
I tried
mystring.data(); mystring.toLatin1(); mystring.toAscii();
none of them work.![]()
Can anyone tell me how to convert QString to const char*?
for example
QString mystring;
I tried
mystring.data(); mystring.toLatin1(); mystring.toAscii();
none of them work.![]()
Bookmarks