QT4.7 tr包含在那个头文件中啊??还是不能用了啊
我的代码使这样的复制代码#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") );就可以求高手帮我解下疑惑啊