• 3549阅读
  • 1回复

[提问]交叉编译QT5.7.0时提示‘QCoreApplication’ has not been declared [复制链接]

上一主题 下一主题
离线ys798823983
 

只看楼主 倒序阅读 楼主  发表于: 2018-04-10
交叉编译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

如图所示,不知道有没有碰到过或者可以帮忙指点一下的。感激不尽了!
window.open('http://www.qtcn.org/bbs/attachment/Mon_1804/18_188568_22640eaaa861d76.png?87');" style="max-width:700px;max-height:700px;" onload="if(is_ie6&&this.offsetWidth>700)this.width=700;" >


离线ys798823983

只看该作者 1楼 发表于: 2018-04-10
刚接触QT,还请大神指点一二
快速回复
限100 字节
 
上一个 下一个