楼主提到的这个问题 应该不存在。
Qt内的字符串都是采用 Unicode 存储的,不涉及utf-8的问题。
而目前 Unicode 的 ucs2 与 utf16 在目前实际上是一样的,不存在转换关系
const ushort * QString::utf16 () const
Returns the QString as a '\0'-terminated array of unsigned shorts. The result remains valid until the string is modified.