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

QString Preferences::frKORtoUNI(char *msg)
{
    QString label;
    label = QApplication::translate(NULL, msg, 0, QApplication::UnicodeUTF8);

    return label;
}

( qt4.7.2 )

'develop > qt4' 카테고리의 다른 글

[qt4] 디바이스들 초기화 하기  (0) 2011.06.09
qlabel 색 지정하기  (0) 2011.05.24
[qt4] QString -> *char 로 변환하기  (0) 2011.05.11
[qt4] database에서 column name 가져오기  (0) 2011.05.11
[qt4] label 배경색 입히기  (0) 2011.05.02