QT QString, wchar_t *, TCHAR, CString和其他字符或字符串类型的转化
//QStringtowchar_t*:
constwchar_t*encodedName=reinterpret_cast(fileName.utf16());
//QStringtochar*givenafilename:
QByteArrayfileName=QFile::encodeName(aFileName);
constchar*encodedName=fileName.const