I have a character pointer that in any run can have different length. For example:
char* myChar;
In one run its content can be "Hi" and in another run it can be "Bye".
I want to copy the content of myChar
to a QString, for example if I have:
QString myString;
I want to copy the content of myChar
to myString
; how can I do that?