标题:交叉编译QT5.7.0时提示‘QCoreApplication’ has not been declared
作者:ys798823983
日期:2018-04-10 08:30
内容:
交叉编译QT5.7.0的源码时,执行make之后,报错
mainwindow.cpp: In member function ‘void MainWindow::updateView()’:
mainwindow.cpp:180:14: error: ‘QCoreApplication’ has not been declared
if (!QCoreApplication::arguments().contains(QStringLiteral("--no_render_alpha")))
^
make[5]: *** [.obj/mainwindow.o] Error 1
如图所示,不知道有没有碰到过或者可以帮忙指点一下的。感激不尽了!
#1 [ys798823983 04-10 08:31]
刚接触QT,还请大神指点一二