main函数一开始就用下面语句
QTextCodec::setCodecForTr(QTextCodec::codecForName("GB2312"));
后来要用到QMessageBox,然后我用了下面语句
QMessageBox::StandardButton reply;
reply = QMessageBox::information(this, tr("错误。"), tr("没有侦测到U盘。"));
可是跳出来的消息窗口,只显示了汉字"错误",后面的“没有侦测到U盘”只显示一个“U”
请问这是怎么回事,哪位大大能指点下小弟,谢谢~~~~
对了,我用的QT版本是qt-everywhere-opensource-src-4.6.2