I tried the second but it doesn't help
Qt Code:
  1. wchar_t * temp = L"abc";
  2. QString test;
  3. test.fromWCharArray(temp);
To copy to clipboard, switch view to plain text mode 
test = "" finally.

Many thanks for your help anyway.