qt 中文字库
用于ARM平台下的QT工具,使用中文时的字库。
intmain(intargc,char*argv[])
{
QApplicationa(argc,argv);
//中文支持
QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));
QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));//支持Tr中文
QTextCodec::setCodecForCStrings(QTex
下载地址
用户评论
不错,很好的学习资料
非常有用,能够显示中文
不错,就是,不能显示非常大的字体
参照这种写法可以让QT支持中文