...and the other is not even a string. To copy the content of QString into the buffer, you'll need something like this:
Qt Code:
char name[50]; strncpy(name, str.toLocal8Bit().constData(), 50);To copy to clipboard, switch view to plain text mode
Bookmarks