develop/qt4

[qt4] 한글 -> 유니코드로 바꾸기

shellbt 2011. 5. 22. 15:31
QString Preferences::frKORtoUNI(char *msg)
{
    QString label;
    label = QApplication::translate(NULL, msg, 0, QApplication::UnicodeUTF8);

    return label;
}

( qt4.7.2 )