LPCTSTR src;QString dest;#ifdef UNICODE dest = QString::fromUtf16( (const ushort*) src );#else dest = QString::fromLocal8Bit( (const char*) src );#endif