QMessageBox::warning(Cui,tr("内容长度不正确"),tr("原始栏内容长度不符合"));//Cui后没报错,但tr还是报错。error: Use of undeclared identifier 'tr'} a1a2x3 初级粉丝 1 抓狂了,上网搜索方法解决了tr问题,变成QMessageBox出错了...E:\WorkFiles\Qt_PJ\CPP_RW_Card_Qt515\mainwindow.cpp:834: er...
friend class QApplication; ^ src/main.cpp:45:13: error: use of undeclared identifier'QMessageBox' QMessageBox::critical(0, ^ src/main.cpp:50:9: error: incomplete type'QApplication'namedinnested name specifier QApplication::setQuitOnLastWindowClosed(false); ^~~~ /anaconda/include/qt/QtCore...