#include<QtGui>
#include<QApplication>
#include<QLabel>
int main(int argc, char* argv[])
{
QApplication app(argc, argv);
QTextCodec::setCodecForCStrings(QTextCodec::codecForName("GB2312"));
QLabel* pLable = new QLabel("我");
pLable->show();
return app.exec();
}