QString processName = "test.exe";
QString::toWCharArray(processName);
我收到以下错误:
error: C2664: 'QString::toWCharArray' : cannot convert parameter 1 from 'QString' to 'wchar_t *'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called