摘要:
头文件包含:#include <QTextCodec>在QApplication app(argc,argv);之后加:QTextCodec::setCodecForTr(QTextCodec::codecForName("GBK"));显示中文时调用:QObject::tr("中文")例如:QLabel hello(QObject::tr("你好世界")); 阅读全文
posted @ 2012-09-05 21:47
Jiang, X.
阅读(2693)
评论(0)
推荐(0)


浙公网安备 33010602011771号