qstring to const char*
QString converts the const char * data into Unicode using the fromUtf8 () function. In all of the QString functions that take const char * parameters, the const char * is interpreted as a classic C-style '\0'-terminated string encoded in UTF-8. It is legal for the const char * parameter to be 0.static] QString QString:: fromUcs4 (const uint * unicode, int size = -1). Returns a QString initialized with the first size characters of the Unicode string unicode (ISO-10646-UCS-4 encoded). If size is -1 (default), unicode must be terminated with a 0. This function was introduced in Qt 4.2.