- 
UID:117613 
 
- 
- 注册时间2011-05-30
 
- 最后登录2011-07-01
 
- 在线时间3小时
 
 
 
- 
- 发帖8
 
- 搜Ta的帖子
 
- 精华0
 
- 金钱115
 - 威望21
 - 贡献值0
 - 好评度11
 
 
 
- 
访问TA的空间加好友用道具
 
 
 
 
 
 
  
 
 | 
 
 
 我的代码使这样的- #include <QApplication>
 - #include <QLabel>
 - #include <QObject>
 - int main( int argc, char **argv )
 - {
 -     QApplication a( argc, argv );
 -     QPushButton *label= new QPushButton( tr("hello world") );
 -     label->show();
 -     return a.exec();
 - }
 
 可是每次运行的时候都是这个 错误 错误:‘tr’ was not declared in this scope去掉或换成这个QPushButton *label= new QPushButton( QString::fromLocal8Bit("hello world") );就可以求高手帮我解下疑惑啊   
 
 
 |